Skip to content

Commit

Permalink
Merge pull request #42 from HanaDigital/Version-1.0.0
Browse files Browse the repository at this point in the history
version 1.0.7
  • Loading branch information
dr-nyt authored Jul 25, 2020
2 parents 84db8ee + 6822f49 commit b15abdd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "novelscraper",
"version": "1.0.6",
"version": "1.0.7",
"description": "Educational app on how to web scrape novels from pirate sites.",
"homepage": "https://github.com/dr-nyt/NovelScraper",
"author": {
Expand Down
2 changes: 2 additions & 0 deletions src/app/boxnovel.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ export class BoxnovelService {

let chapterBody = "<h3>" + chapterTitle + "</h3>";
chapterBody += chapterHtml.outerHTML;
chapterBody = chapterBody.replace(/<br>/g, "<br/>");
console.log(chapterBody);
chapterBody += "<br/><br/>"
chapterBody += "<p>dr-nyt's NovelScraper scraped this novel from a pirate site.</p>"
chapterBody += "<p>If you can, please support the author(s) of this novel: " + novel.info.author + "</p>"
Expand Down
2 changes: 2 additions & 0 deletions src/app/readlightnovel.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export class ReadlightnovelService {

let chapterBody = "<h3>" + chapterTitle + "</h3>";
chapterBody += chapterHtml.outerHTML;
chapterBody = chapterBody.replace(/<br>/g, "<br/>");
console.log(chapterBody);
chapterBody += "<br/><br/>"
chapterBody += "<p>dr-nyt's NovelScraper scraped this novel from a pirate site.</p>"
chapterBody += "<p>If you can, please support the author(s) of this novel: " + novel.info.author + "</p>"
Expand Down

0 comments on commit b15abdd

Please sign in to comment.