Skip to content
This repository was archived by the owner on Nov 20, 2021. It is now read-only.

Commit 062ab00

Browse files
committed
Change source to data source to get actual images
1 parent 5a1a172 commit 062ab00

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/RainOfSnow/RainOfSnow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const BASE = "https://rainofsnow.com"
1515

1616
export const RainOfSnowInfo: SourceInfo = {
1717
icon: "icon.png",
18-
version: "1.4.0",
18+
version: "1.4.1",
1919
name: "RainOfSnow",
2020
author: "PythonCoderAS",
2121
authorWebsite: "https://github.com/PythonCoderAS",

src/RainOfSnow/RainOfSnowParser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ export class RainOfSnowParser {
6060
parsePages($: CheerioStatic, element: CheerioElement) {
6161
const pages: string[] = [];
6262
$("img", element).map((index, element1) => {
63-
if ("attribs" in element1 && element1.attribs["src"]){
64-
pages.push(element1.attribs["src"])
63+
if ("attribs" in element1 && element1.attribs["data-src"]){
64+
pages.push(element1.attribs["data-src"])
6565
}
6666
});
6767
return pages;

0 commit comments

Comments
 (0)