Skip to content

Commit

Permalink
Merge pull request #52 from HanaDigital/version-2.0.0
Browse files Browse the repository at this point in the history
Version 2.0.3
  • Loading branch information
dr-nyt authored Nov 23, 2020
2 parents 55c3005 + 142f7fc commit 8317909
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "novelscraper",
"version": "2.0.2",
"name": "NovelScraper",
"version": "2.0.3",
"description": "App for downloading novels from pirate sites.",
"homepage": "https://github.com/HanaDigital/NovelScraper",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/sources/novelfull.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class NovelfullService extends sourceService {
const currentPageHtml = await this.getHtml(novel.link + "?page=" + i + "&per-page=50");
const chapters = currentPageHtml.getElementsByClassName('row')[1].getElementsByTagName('li');
for (let x = 0; x < chapters.length; x++) {
chapterLinks.push(chapters[x].getElementsByTagName('a')[0].href.replace(/http:\/\/localhost:\d+/g, 'https://novelfull.com'));
chapterLinks.push("https://novelfull.com" + chapters[x].getElementsByTagName('a')[0].getAttribute('href'));
chapterNames.push(chapters[x].getElementsByTagName('a')[0].title);
}
}
Expand Down

0 comments on commit 8317909

Please sign in to comment.