Skip to content

Commit

Permalink
chore [skip ci]: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
riimuru committed Jul 20, 2022
1 parent 152a320 commit c7ec5e2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 90 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@
"test": "test",
"lib": "src"
}
}
}
81 changes: 0 additions & 81 deletions src/providers/manga/index.html

This file was deleted.

7 changes: 0 additions & 7 deletions src/providers/manga/mangahere.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,7 @@ class MangaHere extends MangaParser {
},
});

// console.log(data);

const $ = load(data);
const copyrightHandle = $('p.detail-block-content').text().match('Dear user');
if (copyrightHandle) {
console.log(copyrightHandle);
throw Error(copyrightHandle.input);
}

const copyrightHandle = $('p.detail-block-content').text().match('Dear user');
if (copyrightHandle) {
Expand Down
1 change: 0 additions & 1 deletion src/providers/manga/mangakakalot.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import axios from 'axios';
import { load } from 'cheerio';
import { encode } from 'ascii-url-encoder';

import {
MangaParser,
Expand Down

0 comments on commit c7ec5e2

Please sign in to comment.