feat: add more domains
parent
ed9580ea58
commit
27a2de5abe
|
|
@ -7,12 +7,12 @@ Scrape a booru-like post object from the DOM.
|
|||
| Engine | Sites | Features | Notes |
|
||||
| -------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------------- |
|
||||
| animepictures | anime-pictures.net | content, resolution, tags, tag_category | Rating is assumed to be safe. |
|
||||
| danbooru | danbooru.donmai.us, safebooru.donmai.us | content, rating, resolution, tags, tag_category, source, notes | |
|
||||
| danbooru | danbooru.donmai.us, safebooru.donmai.us, sonohara.donmai.us, hijiribe.donmai.us, hypnohub.net | content, rating, resolution, tags, tag_category, source, notes | |
|
||||
| e621 | e621.net, e926.net | content, rating, resolution, tags, tag_category, source | |
|
||||
| furaffinity | www.furaffinity.net | content, rating, resolution, tags, tag_category | |
|
||||
| gelbooru | safebooru.org, gelbooru.com, rule34.xxx, tbib.org, xbooru.com | content, rating, resolution, tags, tag_category, source, notes | Supported features might vary between hosts. |
|
||||
| gelbooru | safebooru.org, gelbooru.com, rule34.xxx, tbib.org, xbooru.com, mspabooru.com | content, rating, resolution, tags, tag_category, source, notes | Supported features might vary between hosts. |
|
||||
| inkbunny | inkbunny.net | content, rating, resolution, tags | |
|
||||
| moebooru | yande.re, konachan.com | content, rating, resolution, tags, tag_category, source, notes | |
|
||||
| moebooru | yande.re, konachan.com, konachan.net, www.sakugabooru.com, img.genshiken-itb.org | content, rating, resolution, tags, tag_category, source, notes | |
|
||||
| philomena | derpibooru.org, trixiebooru.org, ponybooru.org, furbooru.org, ponerpics.org, manebooru.art, twibooru.org | content, rating, resolution, tags, tag_category, source | |
|
||||
| pixiv | pixiv.net, www.pixiv.net | content | |
|
||||
| reddit | reddit.com, new.reddit.com, old.reddit.com | content | |
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export default class Danbooru extends ScrapeEngineBase {
|
|||
name = "danbooru";
|
||||
features: ScrapeEngineFeature[] = ["content", "rating", "resolution", "tags", "tag_category", "source", "notes"];
|
||||
notes = [];
|
||||
supportedHosts = ["danbooru.donmai.us", "safebooru.donmai.us"];
|
||||
supportedHosts = ["danbooru.donmai.us", "safebooru.donmai.us", "sonohara.donmai.us", "hijiribe.donmai.us", "hypnohub.net"];
|
||||
|
||||
scrapeDocument(document: Document): ScrapeResult {
|
||||
const result = new ScrapeResult(this.name);
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ export default class Gelbooru extends ScrapeEngineBase {
|
|||
name = "gelbooru";
|
||||
features: ScrapeEngineFeature[] = ["content", "rating", "resolution", "tags", "tag_category", "source", "notes"];
|
||||
notes = ["Supported features might vary between hosts."];
|
||||
supportedHosts = ["safebooru.org", "gelbooru.com", "rule34.xxx", "tbib.org", "xbooru.com"];
|
||||
supportedHosts = ["safebooru.org", "gelbooru.com", "rule34.xxx", "tbib.org", "xbooru.com", "mspabooru.com"];
|
||||
|
||||
private readonly classNameToCategoryMap: CategoryMap = {
|
||||
"tag-type-copyright": "copyright",
|
||||
|
|
@ -30,6 +30,7 @@ export default class Gelbooru extends ScrapeEngineBase {
|
|||
case "rule34.xxx":
|
||||
case "tbib.org":
|
||||
case "xbooru.com":
|
||||
case "mspabooru.com":
|
||||
version = Version.v020;
|
||||
break;
|
||||
case "gelbooru.com":
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export default class Moebooru extends ScrapeEngineBase {
|
|||
name = "moebooru";
|
||||
features: ScrapeEngineFeature[] = ["content", "rating", "resolution", "tags", "tag_category", "source", "notes"];
|
||||
notes = [];
|
||||
supportedHosts = ["yande.re", "konachan.com"];
|
||||
supportedHosts = ["yande.re", "konachan.com", "konachan.net", "www.sakugabooru.com", "img.genshiken-itb.org"];
|
||||
|
||||
scrapeDocument(document: Document): ScrapeResult {
|
||||
const result = new ScrapeResult(this.name);
|
||||
|
|
|
|||
Loading…
Reference in New Issue