trackkun-dom 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/specs.json +1 -1
- package/stripper.js +1 -1
package/package.json
CHANGED
package/specs.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"404":"img[src*=\"/images/error-message\"]","id":"asura","meta":{"releases":"","titleBase":"series","readerBase":"series/{titleSlug}/chapter","searchBase":"series?page=1&name=","titleIdType":"name","defaultLang":"en","trailing":false},"releases":{"title":{"sel":"div:has(> a[href=\"/series\"]) + div > div > div > div:nth-child(2)","name":"span a|text","url":"span a|attr:href","chapter":{"sel":"div:has(> p):has(a)","url":"a[href*=\"/chapter/\"]|attr:href","label":"a[href*=\"/chapter/\"] p|text","at":"div + p|text"}}},"title":{"name":"div:has(> div > a[href*=\"/sharer/\"]) span|text","img":"img[alt=\"poster\"]|attr-contain:src","type":"div:has(> img[alt=\"poster\"]) h3:first-child|row:type","tags":"div:has(> h3:first-child):has(> div:last-child:nth-child(2)) button|text","chapter":{"sel":"a[href*=\"/chapter/\"]:has(> h3)","url":"|attr:href","label":"h3|text","at":"h3:last-child|text"}},"reader":{"lazy":true,"sel":"#chapter-above-ads + div:has(img[src*=\"/EndDesign\"])","label":"a:last-of-type > h3|text","imgDivs":"div:has(> img[alt*=\"chapter\"])","content":"#chapter-above-ads + div:has(img[src*=\"/EndDesign\"]), body","prev":"a[href*=\"/chapter/\"]:has(svg.lucide-chevron-left)|attr:href","next":"a[href*=\"/chapter/\"]:has(svg.lucide-chevron-right)|attr:href","title":{"sel":"a[href*=\"series/\"]:not([href$=\"series/\"]):not([href*=\"/chapter/\"])","name":"span|text","url":"|attr:href"},"chapter":{"trigger":"button:has(> h2)","sel":".dropdown-content > a","label":"h2|text","url":"|attr:href"}},"search":{"title":{"sel":"a[href*=\"series/\"]:not([href$=\"series/\"]):has(div span:first-child)","url":"|attr:href","name":"div:has(> span:first-child):has(> span:nth-child(3):last-child) span:first-child|text"}}},{"404":"#content > .wrapper > .notf img, body:empty","id":"mangastream","generic":true,"name":"meta[itemprop=\"name\"]|attr:content","meta":{"releases":"","titleBase":"series","readerBase":"","searchBase":"?s=","idBase":"?p=","titleIdType":"id","defaultLang":"en","trailing":true},"releases":{"title":{"sel":".listupd .utao .uta, .bixbox .bs.styletere","id":"a.series[rel]|attr:rel","name":"h4, .info .tt, .tt a, .series > h3|text","url":"a|attr:href","chapter":{"sel":".luf ul li, .chapter-list > a, .chfiv > li","label":"a .fivchap, a, .epxs|text","url":"a|attr:href || |attr:href","at":"a .fivtime, a + span, .expdate, .newchtimeluffy|text"}}},"title":{"sel":"#chapterlist > ul","id":".bookmark[data-id]|attr:data-id || #rating-form input[name=\"bs_table_id\"]|attr:value","name":"h1.entry-title|text","img":".thumb img|attr-contain:src","type":".imptdt a[href*=\"type=\"]|text || .imptdt:first-of-type i|text","tags":".postbody .mgen > a|text","chapter":{"sel":"#chapterlist > ul > li","url":"a|attr:href","label":".chapternum|text","at":".chapterdate|text"}},"reader":{"sel":"#readerarea","content":"#readerarea","id":".ctop option:checked|attr:data-id","label":"h1.entry-title|text","title":{"sel":".headpost .allc a, [itemprop=\"itemListElement\"] [content=\"2\"] ~ a","name":"|text","url":"|attr:href"},"prev":"a.ch-prev-btn:not(.disabled)|attr:href","next":"a.ch-next-btn:not(.disabled)|attr:href","chapter":{"sel":".ctop #chapter option:not([disabled]):not([value=\"\"])","id":"|attr:data-id","label":"|text","url":"|attr:value"}},"search":{"title":{"sel":".listupd .bsx","name":".bigor .tt|text","url":"a|attr:href"}}},{"404":".error-404.not-found","id":"madara","generic":true,"name":"a.logo|attr:title || meta[property=\"og:site_name\"]|attr:content","meta":{"releases":"","titleBase":"manga","readerBase":"manga/{titleSlug}","idBase":"?p=","searchBase":"?post_type=wp-manga&s=","defaultLang":"en","titleIdType":"id","trailing":true},"releases":{"title":{"sel":".page-listing-item .page-item-detail, .lastest-content .page-item-detail","id":"[data-post-id]|attr:data-post-id","name":"h3 a, .item-summary h3|text","url":"a|attr:href","chapter":{"sel":".chapter-item","label":".chapter a|text","url":".chapter a|attr:href","at":".c-new-tag|attr:title || .post-on|text"}}},"title":{"sel":"body.manga-page","id":"#manga-chapters-holder|attr:data-id || .rating-post-id|attr:value || [data-action=\"bookmark\"]|attr:data-post","name":"h1|text","img":".summary_image .img-responsive, .summary_image img, .series-img img|[attr:data-src,attr-contain:src]","tags":"a[rel=\"tag\"][href*=\"genre\"],a[rel=\"tag\"][href*=\"tag\"],.genres-content|text","type":".post-content_item .summary-heading|row:type","chapter":{"sel":"li.wp-manga-chapter, .chapter-ul > li","url":"a|attr:href","label":"a, .chapter-title-date > p|text","at":".c-new-tag|attr:title || .chapter-release-date i|text"}},"reader":{"sel":".entry-content .read-container","content":".reading-content","label":".breadcrumb li.active|text","title":{"sel":".breadcrumb li:nth-last-of-type(2) a","id":"#manga-reading-nav-head|attr:data-id","name":"|text","url":"|attr:href"},"prev":"a.btn.prev_page|attr:href","next":"a.btn.next_page|attr:href","chapter":{"sel":"#manga-reading-nav-head select.single-chapter-select > option:not([disabled])","label":"|text","url":"|attr:data-redirect"}},"search":{"title":{"sel":".c-tabs-item__content","name":"h3 a|text","url":"a|attr:href","chapter":{"sel":".tab-meta","label":".chapter a|text","url":".chapter a|attr:href","at":".c-new-tag|attr:title || .post-on|text"}}}},{"404":".elapi > a[href*=\"/search?q=\"]","id":"mangahub","meta":{"releases":"","titleBase":"manga","readerBase":"chapter/{titleSlug}","searchBase":"search?q=","defaultLang":"en","titleIdType":"slug","trailing":false},"releases":{"title":{"sel":".list-group-item .media","name":"h4.media-heading a|text","url":".media-heading a|attr:href","at":".media-heading .small|text","chapter":{"sel":".media-body > a","label":"|text","url":"|attr:href"}}},"title":{"sel":"#chapters-tab .tab-content","name":"#mangadetail h1|text","img":"#mangadetail img.manga-thumb|attr-contain:src","tags":"#mangadetail a.genre-label|text","chapter":{"sel":"#chapters-tab li.list-group-item","label":"a:not([rel]) > span:first-child > span:first-child,a > span:first-child > span:first-child|text","url":"a:not([rel])|attr:href || a|attr:href","at":"small|text"}},"reader":{"content":"#mangareader .container-fluid, #mangareader","label":"h3|text","prev":".chapter-pager .previous a[href*=\"/chapter/\"]|attr:href","next":".chapter-pager .next a[href*=\"/chapter/\"]|attr:href","title":{"sel":"h3 a","name":"|text","url":"|attr:href"},"chapter":{"sel":".pager-dropdown .dropdown-menu > li > a","label":"|text","url":"|attr:href"}},"search":{"title":{"sel":".media-manga","name":"h4 a|text","url":"h4 a|attr:href","chapter":{"sel":".media-body","label":"a[href*=\"/chapter/\"]|text","url":"a[href*=\"/chapter/\"]|attr:href"}}}},{"id":"mangadex","meta":{"releases":"about:blank","titleBase":"title","readerBase":"chapter","searchBase":"titles?q=","defaultLang":"en","chapters":"about:blank","titleIdType":"slug","trailing":false}},{"id":"comick","meta":{"home":"home","releases":"about:blank","titleBase":"comic","readerBase":"comic/{titleSlug}","searchBase":"search?q=","defaultLang":"en","chapters":"about:blank","titleIdType":"id","trailing":false},"releases":{"title":{"sel":"#updates-container div[title]","name":"|attr:title","url":"a[href^=\"/comic/\"]|attr:href","chapter":{"sel":"a:last-child","label":"div:first-child|text","url":"|attr:href","at":"div:nth-child(2)|text"}}},"title":{"name":"h1|text","img":"a[href$=\"/covers\"] > img,a[href$=\"/cover\"] > img|attr-contain:src","langs":"#chapter-header + div select option:not([value=\"\"]):not([value=\"all\"])|attr:value","tags":"table a.link[href^=\"/search?genres=\"]|text","type":"h1 ~ div.text-sm span:first-child|row:origination","first":"div:has(> a[href*=\"/comic/\"] + button) a|attr:href"},"reader":{"lazy":true,"content":".reader-container","label":"select:first-of-type option:checked|text","title":{"sel":"div > a[href*=\"/comic/\"]","name":"|text || img[alt]|attr:alt","url":"|attr:href"},"lang":"select:last-of-type:not(:has(+ a)) option:checked|value","group":"select + div > select option:checked, div:has(> div > time) > div > div > select option:checked|text","prev":".reader-container a:first-child[href^=\"/comic/\"]:not(:last-child)|attr:href","next":".reader-container a:last-child[href^=\"/comic/\"]|attr:href","chapter":{"sel":"select:first-of-type option:not([disabled]):not([value=\"\"])","label":"|text","url":"|attr:value"}}},{"id":"bato","meta":{"releases":"","titleBase":"series","readerBase":"chapter","searchBase":"search?word=","defaultLang":"en","titleIdType":"slug","trailing":false},"releases":{"title":{"sel":"#series-list > .item","name":"a.item-title|text","url":"a.item-title|attr:href","lang":"em[data-lang]|attr:data-lang","chapter":{"sel":".item-volch","label":"a|text","url":"a|attr:href","at":"i|text"}}},"title":{"name":"h3.item-title a|text","img":".attr-cover > img|attr-contain:src","langs":".title-set em[data-lang]|attr:data-lang","tags":".attr-main .attr-item .text-muted|row:genres","chapter":{"sel":".episode-list > .main > .item","label":"a.chapt > b|text","url":"a.chapt|attr:href","at":".extra > i|text"}},"reader":{"content":"#viewer","label":"title|text","title":{"sel":"h3.nav-title a","name":"|text","url":"|attr:href"},"lang":"h3.nav-title em[data-lang]|attr:data-lang","prev":".nav-prev > a[href^=\"/chapter/\"]|attr:href","next":".nav-next > a[href^=\"/chapter/\"]|attr:href","chapter":{"sel":".nav-epis > select option:not([disabled]):not([value=\"\"])","label":"|text","url":"|attr:value"}}},{"404":"#error > .attention","id":"mangago","meta":{"releases":"list/latest","titleBase":"read-manga","readerBase":"read-manga/{titleSlug}","searchBase":"r/l_search/?name=","defaultLang":"en","titleIdType":"slug","trailing":true},"releases":{"title":{"sel":"ul#search_list > li > div","name":"a.thm-effect|attr:title","url":"a.thm-effect|attr:href","chapter":{"sel":"a.chico","label":"|text","url":"|attr:href"}}},"title":{"name":".w-title h1|text","img":".article .cover img,#information img|attr-contain:src","tags":".manga_right a[href*=\"/genre/\"],.manga_info ul.uk-list a[href*=\"/genre/\"]|text","chapter":{"sel":"#chapter_table tbody tr, table.uk-table tbody tr","label":"h4 a b, a.chico b|text || a.chico|text","url":"h4 a, a.chico|attr:href","at":"td:last-child|text"}},"reader":{"content":"body","label":"#navi h3 span:last-child,#series + a.chapter|text","title":{"sel":"#navi a#series,#reader-nav .nav li:first-child a","name":"|text","url":"|attr:href"},"chapter":{"sel":".pagebar.top ul.dropdown-menu.chapter > li > a,#series ~ ul.chapter li a","label":"|text","url":"|attr:href"}},"search":{"title":{"sel":"#search_list > li .box","name":"a.thm-effect|attr:title","url":"a.thm-effect|attr:href","chapter":{"sel":"a.chico","label":"|text","url":"|attr:href"}}}},{"404":".nf-large + .nf-desc + a[href=\"/home\"]","id":"kakalot","meta":{"home":"home","releases":"home","titleBase":"","readerBase":"read/{titleSlug}/{lang}","searchBase":"search?keyword=","defaultLang":"en","titleIdType":"id","trailing":false},"releases":{"title":{"sel":"#latest-chap .inner > .item","id":".item-info h3|attr:data-id","name":".item-info h3 a|text","url":"a|attr:href","chapter":{"sel":".chapter-list > .cl-item","label":"a.chapter-name|text","url":"a|attr:href","at":".time|text"}}},"title":{"lazy":true,"sel":"#chapt-list .cl-header","id":"#main|attr:data-id","name":".detail-box h3.manga-name|text","img":".detail-box .manga-poster-img|attr-contain:src","tags":".detail-box .line-content a[href*=\"/genre/\"]|text","langs":"#chap-lang .lang-item|attr:data-code","chapter":{"sel":"#chapt-list .reading-list > .item","label":"a.chapter-name|text","url":"a.chapter-name|attr:href","at":".item-time|text"}},"reader":{"content":"#list-image","imgDivs":".card-wrap[data-url]","label":".breadcrumb-item.active|text","title":{"sel":".breadcrumb-item:nth-child(2) a","id":"#reading|attr:data-manga-id","name":"|text","url":"|attr:href"},"chapter":{"sel":".kbreadcrumb + .reading-option option.reading-item","label":"|text","url":"|attr:value"}},"search":{"title":{"sel":".manga-list > .inner > .item","name":".manga-name a|attr:title","url":".manga-name a|attr:href","chapter":{"sel":".latest-chapter .chapter-name","label":"|text","url":"|attr:href"}}}},{"id":"tapas","meta":{"releases":null,"titleBase":"series/{slug}/info","readerBase":"episode","searchBase":"search?q=","defaultLang":"en","titleIdType":"id","chapters":"about:blank","trailing":false},"title":{"id":".button--subscribe|attr:data-tiara-event-meta-series-id","name":".info .title|text","img":".thumb img|attr:src","first":".episode-list__item a|attr:href","chapter":{"sel":".episode-list .episode-list__item > a","url":"|attr:data-id","label":"|attr:data-scene-number"}},"reader":{"content":".viewer__body","id":"div[id^=\"episode-\"][data-ep-id]|attr:data-ep-id","label":"div[id^=\"episode-\"][data-ep-scene]|attr:data-ep-scene","prev":"div[data-prev-id]:not([data-prev-id=\"-1\"])|attr:data-prev-id","next":"div[data-next-id]:not([data-next-id=\"-1\"])|attr:data-next-id","title":{"sel":"body","id":".subscribe-btn|attr:data-id","url":".subscribe-btn|attr:data-id","name":".series-info .title|text","img":".series-info .thumb img|attr:src"},"chapter":{"sel":".episode-list .list-body > li[data-id]","url":"|attr:data-id","label":".info__label|text"}}},{"id":"mangafire","meta":{"home":"home","releases":"updated","titleBase":"manga","readerBase":"read/{titleSlug}/{lang}","searchBase":"filter?keyword=","defaultLang":"en","titleIdType":"id"},"releases":{"title":{"sel":".unit > .inner","id":"a[data-tip]|attr:data-tip","name":".info a|text","url":"a|attr:href","chapter":{"sel":"ul.content li a","label":"span:first-child|text","url":"|attr:href","at":"span:last-child"}}},"title":{"id":".bookmark[data-id]|attr:data-id","name":".info h1[itemprop=\"name\"]|text","img":".poster img|attr-contain:src","tags":"#info-rating a[href*=\"/genre/\"]|text","langs":".tab-content[data-name=\"chapter\"] a.dropdown-item[data-code]|attr:data-code","chapter":{"sel":".tab-content[data-name=\"chapter\"] li.item[data-number]","url":"a|attr:href","label":"|attr:data-number","at":"a span:last-child|text"}},"reader":{"content":"#page-wrapper","imgDivs":".page","lstrip":".setting-tab.page-layout [data-value=\"longstrip\"].active","lstripBtn":".setting-tab.page-layout [data-value=\"longstrip\"]","label":"#number-panel ul li a[href*=\"/read/\"][data-number].active|attr:data-number","title":{"sel":"#ctrl-menu .head a","id":"body|attr:data-id","url":"|attr:href","name":"|text"},"chapter":{"sel":"#number-panel ul li a[href*=\"/read/\"][data-number]","label":"|attr:data-number","url":"|attr:href"}}},{"id":"mangapark","meta":{"releases":null,"titleBase":"title","readerBase":"title/{titleSlug}","searchBase":"search?word=","defaultLang":"en","titleIdType":"slug","trailing":false},"title":{"name":"h3 a|text","img":"main img|attr-contain:src","tags":"b ~ span span:first-child|text","chapter":{"sel":"[data-name=\"chapter-list\"] div:has(> div > a[href*=\"/title/\"])","url":"a|attr:href","label":"a|text","at":"time span|text"}},"reader":{"label":"h6 a span|text","title":{"sel":"h3 a","url":"|attr:href","name":"|text"},"content":"main","imgDivs":"[data-name=\"image-item\"]","lstrip":"option[q\\:key=\"a\"]:checked","lstripBtn":"option[q\\:key=\"a\"]","prev":"a:has(> i[name=\"angle-left\"])|attr:href","next":"a:has(> i[name=\"angle-right\"])|attr:href","chapter":{"sel":".comic-detail + div select option[value*=\"/title/\"]","url":"|value","label":"|text"}}},{"id":"webtoon","meta":{"releases":null,"titleBase":"","readerBase":"","searchBase":"search?keyword=","defaultLang":"en","chapters":"meta.reader","titleIdType":"id","trailing":false},"title":{"name":"h1.subj,.detail_info > p.subj,.info > h3.subj|text","img":"meta[property=\"og:image\"]|attr:content","tags":".info > h2.genre,.detail_info > p.genre,.info > p.genre|text","first":"a#_btnEpisode|attr:href","chapter":{"sel":"li._episodeItem","label":"|attr:data-episode-no","url":"a|attr:href","at":".date|text"}}},{"id":"mangareader","meta":{"home":"home","releases":"home","titleBase":"","readerBase":"read/{titleSlug}/{lang}","searchBase":"search?keyword=","defaultLang":"en","titleIdType":"id","trailing":false},"releases":{"title":{"sel":"#latest-chap .mls-wrap > .item","url":"a|attr:href","name":".manga-name a|text","chapter":{"sel":".fd-list .chapter a","label":"|text","url":"|attr:href"}}},"title":{"id":"[data-manga-id]|attr:data-manga-id","name":"#ani_detail h2.manga-name|text","img":"#ani_detail img.manga-poster-img|attr:src","type":".anisc-info .item-head|row:type","tags":".anisc-detail .genres a|text","langs":"a.c-select-lang|attr:data-code","chapter":{"sel":".chapters-list-ul > ul > li","label":"|attr:data-number","url":"a|attr:href"}},"reader":{"content":"#main-wrapper","imgDivs":".iv-card[data-url]","lstrip":"a.active[data-value=\"vertical\"]","lstripBtn":"#main-wrapper:not(.page-read-hoz)","label":".reading-list .chapter-item.active|attr:data-number","title":{"id":"[data-manga-id]|attr:data-manga-id","sel":"#header a.hr-manga","name":"h2,.manga-name|text","url":"|attr:href"},"chapter":{"sel":".reading-list.active > .chapter-item","url":"a|attr:href","label":"|attr:data-number"}}},{"404":"#notfound .notfound-404","id":"mgeko","meta":{"releases":"jumbo/manga","titleBase":"manga","readerBase":"reader","searchBase":"search/?search=","defaultLang":"en","titleIdType":"slug","chapters":"meta.reader"},"releases":{"title":{"sel":"#latest-updates .novel-list.chapters > li > a","url":"|attr:href","name":"|attr:title","chapter":{"sel":"div:has(.chapter-title)","label":".chapter-title|text","at":".novel-stats span:first-child|text"}}},"title":{"name":".cover img|attr:alt","img":".cover img|[attr:data-src,attr-contain:src]","tags":".categories .property-item|text","first":"a#readchapterbtn|attr:href","chapter":{"sel":".chapter-list > li a","url":"|attr:href","label":".chapter-title,.chapter-number|text","at":"time|attr:datetime || .chapter-stats|text"}},"reader":{"content":"#chapter-reader","label":".chapter-header .titles h2|text","next":"center .nextchap:not(.isDisabled)|attr:href","prev":"center .prevchap:not(.isDisabled)|attr:href","title":{"sel":".chapter-header .titles h1 a","name":"|text","url":"|attr:href"},"chapter":{"sel":"center center #cars option","label":"|text","url":"|attr:value"}}},{"404":"#main > .error-404","id":"mangack","meta":{"home":"home","releases":"updates","titleBase":"manga","readerBase":"chapter","searchBase":"?s=","defaultLang":"en","titleIdType":"slug","trailing":true},"releases":{"title":{"sel":".latestmanga .Latest_chapter_update","url":"a|attr:href","name":".latest-title a|text","chapter":{"sel":"tr:last-child center","label":"a|text","url":"a|attr:href","at":".chapter-date|text"}}},"title":{"id":"input[name=\"follow_manga\"]|attr:value","name":"h1.entry-title|text","img":".manga-cover-wrap img|attr:src","tags":".infobox a[href*=\"/genres/\"]|text","type":".infobox a[href*=\"/comic-type/\"]|text","chapter":{"sel":".chapterslist > li","url":"a|attr:href","label":"a|text","at":".entry-date|text"}},"reader":{"content":".entry-content","label":".entry-title|text","title":{"sel":".latest-title a","name":"|text","url":"|attr:href"},"prev":".prev-post a|attr:href","next":".next-post a|attr:href"}},{"id":"katana","meta":{"releases":"latest","titleBase":"manga","readerBase":"manga/{titleSlug}","searchBase":"?search_by=book_name&search=","defaultLang":"en","titleIdType":"id","trailing":false},"releases":{"title":{"sel":"#book_list > .item","id":"|attr:data-id","url":"a|attr:href","name":"a|text","chapter":{"sel":".chapter a","url":"|attr:href","label":"|text"}}},"title":{"id":".bookmark_bt[data-id]|attr:data-id","name":".info h1|text","img":".cover img|attr:src","tags":".info .genres a|text","chapter":{"sel":".chapters tbody > tr","url":"a|attr:href","label":"a|text","at":".update_time|text"}},"reader":{"content":"#imgs","imgs":".wrap_img > img|attr:data-src","label":"select[name=\"chapter_select\"] option:checked|text","prev":".nav_button.prev:not([disabled])|attr:href","next":".nav_button.next:not([disabled])|attr:href","title":{"sel":"#breadcrumb_wrap li:nth-child(2) a","id":".bookmark_chapter_bt[data-id]|attr:data-id","name":"span|text","url":"|attr:href"},"chapter":{"sel":".nav_chapters_wrap:first-child select[name=\"chapter_select\"] option","url":"|attr:value","label":"|text"}}},{"id":"truyenqq","meta":{"releases":"","titleBase":"truyen-tranh","readerBase":"truyen-tranh","searchBase":"tim-kiem.html?q=","defaultLang":"vi","trailing":false,"titleIdType":"id"},"releases":{"title":{"sel":"#list_new > li","name":".book_name h3 a|text","url":".book_name h3 a|attr:href","chapter":{"sel":".last_chapter a","label":"|text","url":"|attr:href"}}},"title":{"id":".btn-subscribe|attr:data-id","name":".book_info h1|text","img":".book_avatar img|attr-contain:src","tags":".book_info li a[href*=\"/the-loai/\"]|text","chapter":{"sel":".works-chapter-list .works-chapter-item","label":".name-chap a|text","url":".name-chap a|attr:href","at":".time-chap|text"}},"reader":{"content":".chapter_content","label":"ol.breadcrumb > li:last-of-type a span|text","prev":".chapter-control a.prev[href]:first-of-type:not(.d-none)|attr:href","next":".chapter-control a.prev[href]:last-of-type:not(.d-none), .chapter-control a.next[href]:not(.d-none)|attr:href","title":{"sel":"ol.breadcrumb > li:nth-of-type(2) a","id":".btn-subscribe|attr:data-id","name":"span|text","url":"|attr:href"},"chapter":{"trigger":".chapter_list","sel":"#popup_content .chapter-list > a, .chapter_list > option","label":"|text","url":"|attr:href || |attr:value"}},"search":{"title":{"sel":"#list_new > li","name":".book_name h3 a|text","url":".book_name h3 a|attr:href"}}},{"id":"uzay","meta":{"releases":"","titleBase":"manga/{id}","readerBase":"manga/{titleId}/{titleSlug}","searchBase":"search?search=","defaultLang":"tr","titleIdType":"slug","trailing":false},"releases":{"title":{"sel":"section[aria-label=\"new series\"] ~ section .header + div > div","url":"a|attr:href","name":"h2|text","chapter":{"sel":"a.mobile-list-item","url":"|attr:href","label":"h3 span:first-child b|text","at":"h3 span:nth-child(2)|text"}}},"title":{"name":".content-details > h1|text","img":".content-info > img|attr:src","tags":".content-details a[href*=\"?categories=\"]|text","chapter":{"sel":".list-episode > a","url":"|attr:href","label":"h3 b|text","at":"span:last-child|text"}},"reader":{"content":".manga-episode-card","label":".header h1 + h2|text","prev":"[aria-label=\"episode-navbar\"] div:not(last-child) > a[href]|attr:href","next":"[aria-label=\"episode-navbar\"] div:last-child > a[href]|attr:href","title":{"sel":".header h1:has(> a) a","url":"|attr:href","name":"|text"}}},{"id":"mangaworld","meta":{"releases":"","titleBase":"manga/{id}","readerBase":"manga/{titleId}/{titleSlug}/read","searchBase":"archive?keyword=","defaultLang":"it","titleIdType":"id"},"releases":{"title":{"sel":".comics-grid > .entry","name":".manga-title|text","url":"a|attr:href","chapter":{"sel":"div:has(> .xanh)","label":"a|text","url":"a|attr:href","at":"i|text"}}},"title":{"name":"h1.name|text","img":".thumb img|attr:src","tags":".meta-data a[href*=\"?genre=\"]|text","type":".meta-data a[href*=\"?type=\"]|text","chapter":{"sel":".chapters-wrapper .chapter > a","url":"|attr:href","label":"span|text","at":"i|text"}},"reader":{"content":"#page","label":"h1|text","lstrip":"select.mode option[value=\"LIST\"]:checked","lstripBtn":"select.mode option[value=\"LIST\"]","title":{"sel":"a[href*=\"/manga/\"]","name":"|text","url":"|attr:href"},"chapter":{"sel":"#controls-1 select.chapter option","label":"|text","url":"|value"}}},{"id":"mangaplus","meta":{"home":"updates","releases":"updates","titleBase":"titles","readerBase":"viewer","defaultLang":"en","titleIdType":"slug","trailing":false,"noTags":true},"releases":{"title":{"sel":"[class*=\"UpdatedTitle-module_titleWrapper_\"]","url":"a|attr:href","name":"[class*=\"UpdatedTitle-module_titleName_\"]|text","chapter":{"sel":"[class*=\"UpdatedTitle-module_chapterTitle_\"]","label":"|text"}}},"title":{"lazy":true,"sel":"h1[class*=\"TitleDetailHeader-module_title_\"]","name":"h1[class*=\"TitleDetailHeader-module_title_\"]|text","img":"img[class*=\"TitleDetailHeader-module_coverImage_\"]|attr:src","chapter":{"sel":"[class*=\"ChapterListItem-module_chapterListItem_\"]","url":"a[class*=\"ChapterListItem-module_commentContainer_\"]|attr:href","label":"[class*=\"ChapterListItem-module_name_\"]|text","at":"[class*=\"ChapterListItem-module_date_\"]|text"}},"reader":{"content":"[class*=\"Viewer-module_viewerContainer_\"]","label":"[class*=\"Navigation-module_chapterTitle_\"]|text","lstrip":"input#mode-vertical:checked","lstripBtn":"input#mode-vertical","title":{"sel":"a:has(> [class*=\"Navigation-module_title_\"])","url":"|attr:href","name":"h1|text"},"chapter":{"sel":"ul > li[class*=\"SideMenu-module_chapter_\"]","label":"|text"}}},{"id":"flame","meta":{"releases":"","titleBase":"series","readerBase":"series/{titleSlug}","searchBase":"browse?search=","defaultLang":"en","titleIdType":"name","trailing":false},"releases":{"title":{"sel":"[class*=\"SeriesCard_chapterCardContainer__\"]","url":"a|attr:href","name":".mantine-Stack-root a|text","chapter":{"sel":"a:has(> [class*=\"SeriesCard_chapterPillWrapper__\"])","url":"|attr:href","label":"p:first-child|text","at":"p:not(:first-child)|text"}}},"title":{"name":"h1|text","img":"img[alt=\"Cover\"]|attr:src","tags":"a[href*=\"/genre/\"] span|text","type":"p[class*=\"SeriesPage_infoField__\"]|row:type","first":".mantine-Paper-root p + a[href*=\"/series/\"]|attr:href","chapter":{"sel":"a[class*=\"ChapterCard_chapterWrapper__\"]","url":"|attr:href","label":"p:first-child|text","at":"p:not(:first-child)|text"}},"reader":{"content":"body","label":"p[class*=\"TopChapterNavbar_chapter_title___\"]|text","prevBtn":"button:has(.bi-arrow-left)","nextBtn":"button:has(.bi-arrow-right)","title":{"sel":"[class*=\"TopChapterNavbar_inner__\"]","name":"[class*=\"TopChapterNavbar_series_title__\"]|text","url":"a|attr:href"},"chapter":{"trigger":"button:has(.bi-card-list)","sel":"[class*=\"ChapterCard_chapterWrapper__\"]","url":"|attr:href","label":"p:first-child|text","at":"p:not(:first-child)|text"}}},{"id":"vortex","meta":{"home":"home","releases":null,"titleBase":"series","readerBase":"series/{titleSlug}","searchBase":"series?searchTerm=","defaultLang":"en","trailing":false,"titleIdType":"name","noTags":true},"title":{"name":"h1[itemprop=\"name\"]|text","img":"[itemprop=\"image\"] img|attr:src","type":"h1:has(> svg)|row:type","first":"a[href*=\"/series/\"][href*=\"/chapter\"]|attr:href","hasMore":"a[href*=\"/series/\"][href*=\"/chapter\"]"},"reader":{"content":"section:has(.image-container),main,body","label":"a[href*=\"/series\"]:has(img) div:has(~ time)|text","prev":"a:has(button[aria-label=\"Prev\"])|attr:href","next":"a:has(button[aria-label=\"Next\"])|attr:href","prevBtn":"button:has(.lucide-chevron-left)","nextBtn":"button:has(.lucide-chevron-right)","title":{"sel":"a[href*=\"/series\"]:has(img)","name":"div:has(~ time)|text","url":"|attr:href"},"chapter":{"trigger":"button:has(.lucide-chevron-down)","sel":"[data-radix-popper-content-wrapper] [role=\"option\"] span[id]","label":"|text"}}},{"id":"weebcentral","meta":{"releases":"","titleBase":"series/{id}","readerBase":"chapters","chapters":"about:blank","defaultLang":"en","titleIdType":"id","trailing":false},"releases":{"title":{"sel":"[x-data*=\"sub_feed_shown\"] section article","url":"a:first-child|attr:href","name":"div:not(:has(span)) div|text","chapter":{"sel":"a:not(:first-child)","url":"|attr:href","label":"div:not(:first-child) span|text","at":"time|attr:datetime"}}},"title":{"name":"h1|text","img":"picture img|attr:src","tags":"li a[href*=\"?included_tag=\"]|text","type":"li a[href*=\"?included_type=\"]|text","hasMore":"#chapter-list a","first":"[x-data]:has(> a[href*=\"chapters/\"]):last-child a|attr:href"},"reader":{"content":"[hx-include*=\"reading_style\"]","label":"[hx-target=\"#chapter-select-body\"] span|text","lstripBtn":"input[value=\"long_strip\"]","lstrip":"input[value=\"long_strip\"]:checked","prevBtn":"button[\\@click=\"prevPage()\"]","nextBtn":"button[\\@click=\"nextPage()\"]","title":{"sel":"#nav-top a[href*=\"/series/\"]","url":"|attr:href","name":"span|text"},"chapter":{"trigger":"button[hx-target=\"#chapter-select-body\"]"}}},{"id":"lua","meta":{"releases":"","titleBase":"series","readerBase":"series/{titleSlug}","titleIdType":"slug","trailing":false,"defaultLang":"en","noTags":true},"releases":{"title":{"sel":"div:has(> div > a[href*=\"/series/\"]):has(a > h5)","url":"a|attr:href","name":"h5|text","chapter":{"sel":"a + div a","url":"|attr:href","label":"span:first-child|text","at":"span:not(:first-child)|text"}}},"title":{"lazy":true,"sel":"ul:has(> * > li)","name":"h1|text","img":"section:has(h1) img[srcset]|attr:src"},"reader":{"label":"h1|text","prev":"a[href*=\"/series/\"]:has(> button [data-icon=\"chevron-left\"])|attr:href","next":"a[href*=\"/series/\"]:has(> button [data-icon=\"chevron-right\"])|attr:href","content":"nav:first-child ~ .container:has(img)","title":{"sel":"nav:has(h1)","name":"h2|text","url":"nav:has(h1) a[href*=\"/series/\"]:has(svg[data-icon=\"house\"])|attr:href","img":"img|attr:src"},"chapter":{"trigger":"button:has(> [data-icon=\"list\"])","sel":"#headlessui-portal-root ul a[href*=\"/series/\"]:has(> li)","url":"|attr:href","label":"span:first-child|text","at":"span:not(first-child)|text"}}},{"id":"mangabuddy","meta":{"home":"home","releases":"home","titleBase":"","readerBase":"{titleSlug}","searchBase":"search?q=","titleIdType":"slug","defaultLang":"en","trailing":false},"releases":{"title":{"sel":".main-container .book-item .meta","name":"h3 a|text","url":"h3 a|attr:href","chapter":{"sel":".chap-item","label":"h4 a|text","url":"h4 a|attr:href","at":".updated-date span|text"}}},"title":{"sel":"#chapter-list","name":"h1|text","img":".img-cover img|attr-contain:src","tags":".detail a[href*=\"/genres/\"]|text","chapter":{"sel":"#chapter-list > li > a","url":"|attr:href","label":".chapter-title|text","at":".chapter-update|text"}},"reader":{"label":"#breadcrumbs-container .breadcrumbs-item:last-child|text","title":{"sel":"#breadcrumbs-container .breadcrumbs-item:nth-child(2) a","url":"|attr:href","name":"span|text"},"content":"#chapter-images","imgDivs":".chapter-image","prev":"a#btn-prev|attr:href","next":"a#btn-next|attr:href","chapter":{"trigger":"#load-chapters","sel":".chapter-select option","url":"|attr:value","label":"|text"}}},{"id":"rolia","meta":{"releases":"updated-mangas","titleBase":"manga","readerBase":"manga/{titleSlug}","chapters":"manga/{titleSlug}/chapterlist","searchBase":"?s=","titleIdType":"name","defaultLang":"en","trailing":true},"releases":{"title":{"sel":".article-feed > div > div:has(> h6)","name":"h6 a|text","url":"h6 a|attr:href","chapter":{"sel":"table tr","label":"a|text","url":"a|attr:href","at":"time|attr:data-date"}}},"title":{"name":"h1|text","img":"img.poster|attr-contain:src","tags":"a[href*=\"/genres/\"]|text","type":".card-movies-series table tr:last-child td|text","first":".chapter-list + a|attr:href","hasMore":".chapter-list ~ a[href*=\"/chapterlist\"]"},"chapters":{"chapter":{"sel":"#page-content-wrapper td:first-child a","url":"|attr:url","label":"|text"}},"reader":{"content":".manga-child-content","label":".childtitle|text","next":".chapter-nav-right|attr:href","prev":".chapter-nav-left|attr:href","title":{"sel":".breadcrumb strong a","name":"|text","url":"|attr:href"},"chapter":{"sel":"#postDropdown option:not(:first-child)","label":"|text","url":"|attr:value"}}},{"id":"lelscanfr","meta":{"releases":"","titleBase":"manga","readerBase":"manga/{titleSlug}","searchBase":"manga?title=","chapters":"meta.reader","titleIdType":"slug","defaultLang":"fr","trailing":false},"releases":{"title":{"sel":"div:has(> #card-real)","url":"a|attr:href","name":"h2|text","chapter":{"sel":"#card-real + div div:has(a)","label":"b|text","url":"a|attr:href","at":"a + span|text"}}},"title":{"name":"main h2|text","img":"main img[alt]|attr-contain:src","tags":"main a[href*=\"genre=\"]|text","type":"a[href*=\"type=\"]|text","hasMore":"ul.pagination","chapter":{"sel":"#chapters-list > a","url":"|attr:href","label":"div:first-child > span|text","at":"div:nth-child(2) > span"}},"reader":{"label":"h2|text","title":{"sel":"h3 a","url":"|attr:href","name":"|text"},"content":"#chapter-container, main","lstrip":"#reading-types option[value=\"long\"]:checked","lstripBtn":"#reading-types option[value=\"long\"]","prev":"div:has(#chapter-select) + div a:first-child[href*=\"/manga/\"]|attr:href","next":"div:has(#chapter-select) + div a:last-child[href*=\"/manga/\"]|attr:href","chapter":{"sel":"div:has(~ #chapter-container) #chapter-select option","label":"|text","url":"|text"}}},{"id":"phoenix","meta":{"releases":"","titleBase":"manga","readerBase":"manga/{titleSlug}","titleIdType":"name","defaultLang":"fr","trailing":false,"noTags":true},"releases":{"title":{"sel":".main__latest-releases-card","url":"a|attr:href","name":"h3 text","chapter":{"sel":"a.main__latest-releases-card-chapter","url":"|attr:href","label":".main__latest-releases-card-chapter-number|text","at":".main__latest-releases-card-chapter-date|text"}}},"title":{"name":"h1|text","img":"img.project__cover|attr-contain:src","chapter":{"sel":"a.project__chapter","url":"|attr:href","label":".project__chapter-title|text","at":".project__chapter-date|text"}},"reader":{"label":".chapter__nav-chapter-title-number|text","title":{"sel":"a.chapter__nav-chapter","url":"|attr:href","name":".chapter__nav-title|text"},"content":".chapter-images__container","prev":"a.chapter__previous|attr:href","next":"a.chapter__next|attr:href","chapter":{"trigger":".chapter-images__controls-chapter","sel":".chapter-list .chapter_item a","url":"|attr:href","label":"|text"}}},{"404":"#content > .wrapper > .notf img, body:empty","id":"nika","meta":{"releases":"","titleBase":"manga","readerBase":"","searchBase":"?s=","idBase":"?p=","titleIdType":"name","defaultLang":"en","trailing":true},"releases":{"title":{"sel":".listupd .utao .uta .luf","url":"a|attr:href","name":"h4|text","chapter":{"sel":"ul li a:has(.eggchap)","url":"|attr:href","label":".eggchap|text","at":".eggtime|text"}}},"title":{"id":".bookmark[data-id]|attr:data-id","name":"h1.entry-title|text","img":".thumb img|attr-contain:src","tags":".mgen a[rel=\"tag\"]|text","type":".imptdt a[href*=\"type=\"]|text","chapter":{"sel":".chapter-item a","url":"|attr:href","label":"div div:first-child|text","at":"div div:not(:first-child)|text"}},"reader":{"content":"#readerarea","id":".ctop option:checked|attr:data-id","label":"h1.entry-title|text","title":{"sel":".headpost .allc a","name":"|text","url":"|attr:href"},"prev":"a.ch-prev-btn:not(.disabled)|attr:href","next":"a.ch-next-btn:not(.disabled)|attr:href","chapter":{"sel":".ctop #chapter option:not([disabled]):not([value=\"\"])","id":"|attr:data-id","label":"|text","url":"|attr:value"}},"search":{"title":{"sel":".listupd .bs .bsx a","url":"|attr:href","name":".bigor .tt|text","img":"img|attr-contain:src"}}},{"id":"manhwaz","meta":{"releases":null,"titleBase":"webtoon","readerBase":"webtoon/{titleSlug}","searchBase":"search?s=","titleIdType":"name","defaultLang":"en","trailing":false},"title":{"name":".post-title h1|text","img":".summary_image img[alt]|attr-contain:src","tags":".genres-content a[rel=\"tag\"]|text","chapter":{"sel":".wp-manga-chapter","label":"a|text","url":"a|attr:href","at":".chapter-release-date i|text"}},"reader":{"label":".breadcrumb .active|text","title":{"sel":".breadcrumb li:has(+ .active) a","url":"|attr:href","name":"|text"},"content":"#chapter_content, .reading-content","prev":".nav-previous a|attr:href","next":".nav-next a|attr:href","chapter":{"sel":"#manga-reading-nav-head .single-chapter-select option","url":"|attr:value","label":"|text"}}},{"id":"merlin","meta":{"releases":null,"titleBase":"series","readerBase":"series/{titleSlug}","searchBase":"search.php?q=","chapters":"meta.reader","titleIdType":"slug","defaultLang":"tr","trailing":false},"title":{"name":"h1.series-title|text","img":"img.cover-image|attr-contain:src","first":".chapter-filters a|attr:href","tags":".category-badge|text","hasMore":".pagination-container .page-btn","chapter":{"sel":"a.chapter-item","url":"|attr:href","label":".chapter-title|text","at":".chapter-date|text"}},"reader":{"label":".reader-header h2|text","title":{"name":".reader-header h1|text"},"content":"#manga-reader-content","prev":".reader-nav-right a:first-of-type:not(:last-of-type)|attr:href","next":".reader-nav-right a:last-of-type:not([href*=\"slug=\"])|attr:href","chapter":{"sel":".reader-nav-center select option","url":"|attr:value","label":"|text"}}},{"id":"dynasty","meta":{"releases":null,"titleBase":"series","readerBase":"chapters","searchBase":"search?q=","titleIdType":"slug","defaultLang":"en","trailing":false},"title":{"name":"h2.tag-title b|text","img":".cover img|attr-contain:src","tags":".tag-tags a.label|text","chapter":{"sel":".chapter-list dd:has(> a.name)","url":"a|attr:href","label":"a|text","at":"small|text"}},"reader":{"label":"h3#chapter-title b|text","title":{"sel":"h3#chapter-title b a","url":"|attr:href","name":"|text"},"content":"#image","prev":"a#prev_link|attr:href","next":"a#next_link|attr:href"}}]
|
|
1
|
+
[{"404":"img[src*=\"/images/error-message\"]","id":"asura","meta":{"releases":"","titleBase":"series","readerBase":"series/{titleSlug}/chapter","searchBase":"series?page=1&name=","titleIdType":"name","defaultLang":"en","trailing":false},"releases":{"title":{"sel":"div:has(> a[href=\"/series\"]) + div > div > div > div:nth-child(2)","name":"span a|text","url":"span a|attr:href","chapter":{"sel":"div:has(> p):has(a)","url":"a[href*=\"/chapter/\"]|attr:href","label":"a[href*=\"/chapter/\"] p|text","at":"div + p|text"}}},"title":{"name":"div:has(> div > a[href*=\"/sharer/\"]) span|text","img":"img[alt=\"poster\"]|attr-contain:src","type":"div:has(> img[alt=\"poster\"]) h3:first-child|row:type","tags":"div:has(> h3:first-child):has(> div:last-child:nth-child(2)) button|text","chapter":{"sel":"a[href*=\"/chapter/\"]:has(> h3)","url":"|attr:href","label":"h3|text","at":"h3:last-child|text"}},"reader":{"lazy":true,"sel":"#chapter-above-ads + div:has(img[src*=\"/EndDesign\"])","label":"a:last-of-type > h3|text","imgDivs":"div:has(> img[alt*=\"chapter\"])","content":"#chapter-above-ads + div:has(img[src*=\"/EndDesign\"]), body","prev":"a[href*=\"/chapter/\"]:has(svg.lucide-chevron-left)|attr:href","next":"a[href*=\"/chapter/\"]:has(svg.lucide-chevron-right)|attr:href","title":{"sel":"a[href*=\"series/\"]:not([href$=\"series/\"]):not([href*=\"/chapter/\"])","name":"span|text","url":"|attr:href"},"chapter":{"trigger":"button:has(> h2)","sel":".dropdown-content > a","label":"h2|text","url":"|attr:href"}},"search":{"title":{"sel":"a[href*=\"series/\"]:not([href$=\"series/\"]):has(div span:first-child)","url":"|attr:href","name":"div:has(> span:first-child):has(> span:nth-child(3):last-child) span:first-child|text"}}},{"404":"#content > .wrapper > .notf img, body:empty","id":"mangastream","generic":true,"name":"meta[itemprop=\"name\"]|attr:content","meta":{"releases":"","titleBase":"series","readerBase":"","searchBase":"?s=","idBase":"?p=","titleIdType":"id","defaultLang":"en","trailing":true},"releases":{"title":{"sel":".listupd .utao .uta, .bixbox .bs.styletere","id":"a.series[rel]|attr:rel","name":"h4, .info .tt, .tt a, .series > h3|text","url":"a|attr:href","chapter":{"sel":".luf ul li, .chapter-list > a, .chfiv > li","label":"a .fivchap, a, .epxs|text","url":"a|attr:href || |attr:href","at":"a .fivtime, a + span, .expdate, .newchtimeluffy|text"}}},"title":{"sel":"#chapterlist > ul","id":".bookmark[data-id]|attr:data-id || #rating-form input[name=\"bs_table_id\"]|attr:value","name":"h1.entry-title|text","img":".thumb img|attr-contain:src","type":".imptdt a[href*=\"type=\"]|text || .imptdt:first-of-type i|text","tags":".postbody .mgen > a|text","chapter":{"sel":"#chapterlist > ul > li","url":"a|attr:href","label":".chapternum|text","at":".chapterdate|text"}},"reader":{"sel":"#readerarea","content":"#readerarea","id":".ctop option:checked|attr:data-id","label":"h1.entry-title|text","title":{"sel":".headpost .allc a, [itemprop=\"itemListElement\"] [content=\"2\"] ~ a","name":"|text","url":"|attr:href"},"prev":"a.ch-prev-btn:not(.disabled)|attr:href","next":"a.ch-next-btn:not(.disabled)|attr:href","chapter":{"sel":".ctop #chapter option:not([disabled]):not([value=\"\"])","id":"|attr:data-id","label":"|text","url":"|attr:value"}},"search":{"title":{"sel":".listupd .bsx","name":".bigor .tt|text","url":"a|attr:href"}}},{"404":".error-404.not-found","id":"madara","generic":true,"name":"a.logo|attr:title || meta[property=\"og:site_name\"]|attr:content","meta":{"releases":"","titleBase":"manga","readerBase":"manga/{titleSlug}","idBase":"?p=","searchBase":"?post_type=wp-manga&s=","defaultLang":"en","titleIdType":"id","trailing":true},"releases":{"title":{"sel":".page-listing-item .page-item-detail, .lastest-content .page-item-detail","id":"[data-post-id]|attr:data-post-id","name":"h3 a, .item-summary h3|text","url":"a|attr:href","chapter":{"sel":".chapter-item","label":".chapter a|text","url":".chapter a|attr:href","at":".c-new-tag|attr:title || .post-on|text"}}},"title":{"sel":"body.manga-page","id":"#manga-chapters-holder|attr:data-id || .rating-post-id|attr:value || [data-action=\"bookmark\"]|attr:data-post","name":"h1|text","img":".summary_image .img-responsive, .summary_image img, .series-img img|[attr:data-src,attr-contain:src]","tags":"a[rel=\"tag\"][href*=\"genre\"],a[rel=\"tag\"][href*=\"tag\"],.genres-content|text","type":".post-content_item .summary-heading|row:type","chapter":{"sel":"li.wp-manga-chapter, .chapter-ul > li","url":"a|attr:href","label":"a, .chapter-title-date > p|text","at":".c-new-tag|attr:title || .chapter-release-date i|text"}},"reader":{"sel":".entry-content .read-container","content":".reading-content","label":".breadcrumb li.active|text","title":{"sel":".breadcrumb li:nth-last-of-type(2) a","id":"#manga-reading-nav-head|attr:data-id","name":"|text","url":"|attr:href"},"prev":"a.btn.prev_page|attr:href","next":"a.btn.next_page|attr:href","chapter":{"sel":"#manga-reading-nav-head select.single-chapter-select > option:not([disabled])","label":"|text","url":"|attr:data-redirect"}},"search":{"title":{"sel":".c-tabs-item__content","name":"h3 a|text","url":"a|attr:href","chapter":{"sel":".tab-meta","label":".chapter a|text","url":".chapter a|attr:href","at":".c-new-tag|attr:title || .post-on|text"}}}},{"404":".elapi > a[href*=\"/search?q=\"]","id":"mangahub","meta":{"releases":"","titleBase":"manga","readerBase":"chapter/{titleSlug}","searchBase":"search?q=","defaultLang":"en","titleIdType":"slug","trailing":false},"releases":{"title":{"sel":".list-group-item .media","name":"h4.media-heading a|text","url":".media-heading a|attr:href","at":".media-heading .small|text","chapter":{"sel":".media-body > a","label":"|text","url":"|attr:href"}}},"title":{"sel":"#chapters-tab .tab-content","name":"#mangadetail h1|text","img":"#mangadetail img.manga-thumb|attr-contain:src","tags":"#mangadetail a.genre-label|text","chapter":{"sel":"#chapters-tab li.list-group-item","label":"a > span:first-child > span:first-child|text","url":"a:not([title])|attr:href || a:not([rel])|attr:href || a|attr:href","at":"small|text"}},"reader":{"content":"#mangareader .container-fluid, #mangareader","label":"h3|text","prev":".chapter-pager .previous a[href*=\"/chapter/\"]|attr:href","next":".chapter-pager .next a[href*=\"/chapter/\"]|attr:href","title":{"sel":"h3 a","name":"|text","url":"|attr:href"},"chapter":{"sel":".pager-dropdown .dropdown-menu > li > a","label":"|text","url":"|attr:href"}},"search":{"title":{"sel":".media-manga","name":"h4 a|text","url":"h4 a|attr:href","chapter":{"sel":".media-body","label":"a[href*=\"/chapter/\"]|text","url":"a[href*=\"/chapter/\"]|attr:href"}}}},{"id":"mangadex","meta":{"releases":"about:blank","titleBase":"title","readerBase":"chapter","searchBase":"titles?q=","defaultLang":"en","chapters":"about:blank","titleIdType":"slug","trailing":false}},{"id":"comick","meta":{"home":"home","releases":"about:blank","titleBase":"comic","readerBase":"comic/{titleSlug}","searchBase":"search?q=","defaultLang":"en","chapters":"about:blank","titleIdType":"id","trailing":false},"releases":{"title":{"sel":"#updates-container div[title]","name":"|attr:title","url":"a[href^=\"/comic/\"]|attr:href","chapter":{"sel":"a:last-child","label":"div:first-child|text","url":"|attr:href","at":"div:nth-child(2)|text"}}},"title":{"name":"h1|text","img":"a[href$=\"/covers\"] > img,a[href$=\"/cover\"] > img|attr-contain:src","langs":"#chapter-header + div select option:not([value=\"\"]):not([value=\"all\"])|attr:value","tags":"table a.link[href^=\"/search?genres=\"]|text","type":"h1 ~ div.text-sm span:first-child|row:origination","first":"div:has(> a[href*=\"/comic/\"] + button) a|attr:href"},"reader":{"lazy":true,"content":".reader-container","label":"select:first-of-type option:checked|text","title":{"sel":"div > a[href*=\"/comic/\"]","name":"|text || img[alt]|attr:alt","url":"|attr:href"},"lang":"select:last-of-type:not(:has(+ a)) option:checked|value","group":"select + div > select option:checked, div:has(> div > time) > div > div > select option:checked|text","prev":".reader-container a:first-child[href^=\"/comic/\"]:not(:last-child)|attr:href","next":".reader-container a:last-child[href^=\"/comic/\"]|attr:href","chapter":{"sel":"select:first-of-type option:not([disabled]):not([value=\"\"])","label":"|text","url":"|attr:value"}}},{"id":"bato","meta":{"releases":"","titleBase":"series","readerBase":"chapter","searchBase":"search?word=","defaultLang":"en","titleIdType":"slug","trailing":false},"releases":{"title":{"sel":"#series-list > .item","name":"a.item-title|text","url":"a.item-title|attr:href","lang":"em[data-lang]|attr:data-lang","chapter":{"sel":".item-volch","label":"a|text","url":"a|attr:href","at":"i|text"}}},"title":{"name":"h3.item-title a|text","img":".attr-cover > img|attr-contain:src","langs":".title-set em[data-lang]|attr:data-lang","tags":".attr-main .attr-item .text-muted|row:genres","chapter":{"sel":".episode-list > .main > .item","label":"a.chapt > b|text","url":"a.chapt|attr:href","at":".extra > i|text"}},"reader":{"content":"#viewer","label":"title|text","title":{"sel":"h3.nav-title a","name":"|text","url":"|attr:href"},"lang":"h3.nav-title em[data-lang]|attr:data-lang","prev":".nav-prev > a[href^=\"/chapter/\"]|attr:href","next":".nav-next > a[href^=\"/chapter/\"]|attr:href","chapter":{"sel":".nav-epis > select option:not([disabled]):not([value=\"\"])","label":"|text","url":"|attr:value"}}},{"404":"#error > .attention","id":"mangago","meta":{"releases":"list/latest","titleBase":"read-manga","readerBase":"read-manga/{titleSlug}","searchBase":"r/l_search/?name=","defaultLang":"en","titleIdType":"slug","trailing":true},"releases":{"title":{"sel":"ul#search_list > li > div","name":"a.thm-effect|attr:title","url":"a.thm-effect|attr:href","chapter":{"sel":"a.chico","label":"|text","url":"|attr:href"}}},"title":{"name":".w-title h1|text","img":".article .cover img,#information img|attr-contain:src","tags":".manga_right a[href*=\"/genre/\"],.manga_info ul.uk-list a[href*=\"/genre/\"]|text","chapter":{"sel":"#chapter_table tbody tr, table.uk-table tbody tr","label":"h4 a b, a.chico b|text || a.chico|text","url":"h4 a, a.chico|attr:href","at":"td:last-child|text"}},"reader":{"content":"body","label":"#navi h3 span:last-child,#series + a.chapter|text","title":{"sel":"#navi a#series,#reader-nav .nav li:first-child a","name":"|text","url":"|attr:href"},"chapter":{"sel":".pagebar.top ul.dropdown-menu.chapter > li > a,#series ~ ul.chapter li a","label":"|text","url":"|attr:href"}},"search":{"title":{"sel":"#search_list > li .box","name":"a.thm-effect|attr:title","url":"a.thm-effect|attr:href","chapter":{"sel":"a.chico","label":"|text","url":"|attr:href"}}}},{"404":".nf-large + .nf-desc + a[href=\"/home\"]","id":"kakalot","meta":{"home":"home","releases":"home","titleBase":"","readerBase":"read/{titleSlug}/{lang}","searchBase":"search?keyword=","defaultLang":"en","titleIdType":"id","trailing":false},"releases":{"title":{"sel":"#latest-chap .inner > .item","id":".item-info h3|attr:data-id","name":".item-info h3 a|text","url":"a|attr:href","chapter":{"sel":".chapter-list > .cl-item","label":"a.chapter-name|text","url":"a|attr:href","at":".time|text"}}},"title":{"lazy":true,"sel":"#chapt-list .cl-header","id":"#main|attr:data-id","name":".detail-box h3.manga-name|text","img":".detail-box .manga-poster-img|attr-contain:src","tags":".detail-box .line-content a[href*=\"/genre/\"]|text","langs":"#chap-lang .lang-item|attr:data-code","chapter":{"sel":"#chapt-list .reading-list > .item","label":"a.chapter-name|text","url":"a.chapter-name|attr:href","at":".item-time|text"}},"reader":{"content":"#list-image","imgDivs":".card-wrap[data-url]","label":".breadcrumb-item.active|text","title":{"sel":".breadcrumb-item:nth-child(2) a","id":"#reading|attr:data-manga-id","name":"|text","url":"|attr:href"},"chapter":{"sel":".kbreadcrumb + .reading-option option.reading-item","label":"|text","url":"|attr:value"}},"search":{"title":{"sel":".manga-list > .inner > .item","name":".manga-name a|attr:title","url":".manga-name a|attr:href","chapter":{"sel":".latest-chapter .chapter-name","label":"|text","url":"|attr:href"}}}},{"id":"tapas","meta":{"releases":null,"titleBase":"series/{slug}/info","readerBase":"episode","searchBase":"search?q=","defaultLang":"en","titleIdType":"id","chapters":"about:blank","trailing":false},"title":{"id":".button--subscribe|attr:data-tiara-event-meta-series-id","name":".info .title|text","img":".thumb img|attr:src","first":".episode-list__item a|attr:href","chapter":{"sel":".episode-list .episode-list__item > a","url":"|attr:data-id","label":"|attr:data-scene-number"}},"reader":{"content":".viewer__body","id":"div[id^=\"episode-\"][data-ep-id]|attr:data-ep-id","label":"div[id^=\"episode-\"][data-ep-scene]|attr:data-ep-scene","prev":"div[data-prev-id]:not([data-prev-id=\"-1\"])|attr:data-prev-id","next":"div[data-next-id]:not([data-next-id=\"-1\"])|attr:data-next-id","title":{"sel":"body","id":".subscribe-btn|attr:data-id","url":".subscribe-btn|attr:data-id","name":".series-info .title|text","img":".series-info .thumb img|attr:src"},"chapter":{"sel":".episode-list .list-body > li[data-id]","url":"|attr:data-id","label":".info__label|text"}}},{"id":"mangafire","meta":{"home":"home","releases":"updated","titleBase":"manga","readerBase":"read/{titleSlug}/{lang}","searchBase":"filter?keyword=","defaultLang":"en","titleIdType":"id"},"releases":{"title":{"sel":".unit > .inner","id":"a[data-tip]|attr:data-tip","name":".info a|text","url":"a|attr:href","chapter":{"sel":"ul.content li a","label":"span:first-child|text","url":"|attr:href","at":"span:last-child"}}},"title":{"id":".bookmark[data-id]|attr:data-id","name":".info h1[itemprop=\"name\"]|text","img":".poster img|attr-contain:src","tags":"#info-rating a[href*=\"/genre/\"]|text","langs":".tab-content[data-name=\"chapter\"] a.dropdown-item[data-code]|attr:data-code","chapter":{"sel":".tab-content[data-name=\"chapter\"] li.item[data-number]","url":"a|attr:href","label":"|attr:data-number","at":"a span:last-child|text"}},"reader":{"content":"#page-wrapper","imgDivs":".page","lstrip":".setting-tab.page-layout [data-value=\"longstrip\"].active","lstripBtn":".setting-tab.page-layout [data-value=\"longstrip\"]","label":"#number-panel ul li a[href*=\"/read/\"][data-number].active|attr:data-number","title":{"sel":"#ctrl-menu .head a","id":"body|attr:data-id","url":"|attr:href","name":"|text"},"chapter":{"sel":"#number-panel ul li a[href*=\"/read/\"][data-number]","label":"|attr:data-number","url":"|attr:href"}}},{"id":"mangapark","meta":{"releases":null,"titleBase":"title","readerBase":"title/{titleSlug}","searchBase":"search?word=","defaultLang":"en","titleIdType":"slug","trailing":false},"title":{"name":"h3 a|text","img":"main img|attr-contain:src","tags":"b ~ span span:first-child|text","chapter":{"sel":"[data-name=\"chapter-list\"] div:has(> div > a[href*=\"/title/\"])","url":"a|attr:href","label":"a|text","at":"time span|text"}},"reader":{"label":"h6 a span|text","title":{"sel":"h3 a","url":"|attr:href","name":"|text"},"content":"main","imgDivs":"[data-name=\"image-item\"]","lstrip":"option[q\\:key=\"a\"]:checked","lstripBtn":"option[q\\:key=\"a\"]","prev":"a:has(> i[name=\"angle-left\"])|attr:href","next":"a:has(> i[name=\"angle-right\"])|attr:href","chapter":{"sel":".comic-detail + div select option[value*=\"/title/\"]","url":"|value","label":"|text"}}},{"id":"webtoon","meta":{"releases":null,"titleBase":"","readerBase":"","searchBase":"search?keyword=","defaultLang":"en","chapters":"meta.reader","titleIdType":"id","trailing":false},"title":{"name":"h1.subj,.detail_info > p.subj,.info > h3.subj|text","img":"meta[property=\"og:image\"]|attr:content","tags":".info > h2.genre,.detail_info > p.genre,.info > p.genre|text","first":"a#_btnEpisode|attr:href","chapter":{"sel":"li._episodeItem","label":"|attr:data-episode-no","url":"a|attr:href","at":".date|text"}}},{"id":"mangareader","meta":{"home":"home","releases":"home","titleBase":"","readerBase":"read/{titleSlug}/{lang}","searchBase":"search?keyword=","defaultLang":"en","titleIdType":"id","trailing":false},"releases":{"title":{"sel":"#latest-chap .mls-wrap > .item","url":"a|attr:href","name":".manga-name a|text","chapter":{"sel":".fd-list .chapter a","label":"|text","url":"|attr:href"}}},"title":{"id":"[data-manga-id]|attr:data-manga-id","name":"#ani_detail h2.manga-name|text","img":"#ani_detail img.manga-poster-img|attr:src","type":".anisc-info .item-head|row:type","tags":".anisc-detail .genres a|text","langs":"a.c-select-lang|attr:data-code","chapter":{"sel":".chapters-list-ul > ul > li","label":"|attr:data-number","url":"a|attr:href"}},"reader":{"content":"#main-wrapper","imgDivs":".iv-card[data-url]","lstrip":"a.active[data-value=\"vertical\"]","lstripBtn":"#main-wrapper:not(.page-read-hoz)","label":".reading-list .chapter-item.active|attr:data-number","title":{"id":"[data-manga-id]|attr:data-manga-id","sel":"#header a.hr-manga","name":"h2,.manga-name|text","url":"|attr:href"},"chapter":{"sel":".reading-list.active > .chapter-item","url":"a|attr:href","label":"|attr:data-number"}}},{"404":"#notfound .notfound-404","id":"mgeko","meta":{"releases":"jumbo/manga","titleBase":"manga","readerBase":"reader","searchBase":"search/?search=","defaultLang":"en","titleIdType":"slug","chapters":"meta.reader"},"releases":{"title":{"sel":"#latest-updates .novel-list.chapters > li > a","url":"|attr:href","name":"|attr:title","chapter":{"sel":"div:has(.chapter-title)","label":".chapter-title|text","at":".novel-stats span:first-child|text"}}},"title":{"name":".cover img|attr:alt","img":".cover img|[attr:data-src,attr-contain:src]","tags":".categories .property-item|text","first":"a#readchapterbtn|attr:href","chapter":{"sel":".chapter-list > li a","url":"|attr:href","label":".chapter-title,.chapter-number|text","at":"time|attr:datetime || .chapter-stats|text"}},"reader":{"content":"#chapter-reader","label":".chapter-header .titles h2|text","next":"center .nextchap:not(.isDisabled)|attr:href","prev":"center .prevchap:not(.isDisabled)|attr:href","title":{"sel":".chapter-header .titles h1 a","name":"|text","url":"|attr:href"},"chapter":{"sel":"center center #cars option","label":"|text","url":"|attr:value"}}},{"404":"#main > .error-404","id":"mangack","meta":{"home":"home","releases":"updates","titleBase":"manga","readerBase":"chapter","searchBase":"?s=","defaultLang":"en","titleIdType":"slug","trailing":true},"releases":{"title":{"sel":".latestmanga .Latest_chapter_update","url":"a|attr:href","name":".latest-title a|text","chapter":{"sel":"tr:last-child center","label":"a|text","url":"a|attr:href","at":".chapter-date|text"}}},"title":{"id":"input[name=\"follow_manga\"]|attr:value","name":"h1.entry-title|text","img":".manga-cover-wrap img|attr:src","tags":".infobox a[href*=\"/genres/\"]|text","type":".infobox a[href*=\"/comic-type/\"]|text","chapter":{"sel":".chapterslist > li","url":"a|attr:href","label":"a|text","at":".entry-date|text"}},"reader":{"content":".entry-content","label":".entry-title|text","title":{"sel":".latest-title a","name":"|text","url":"|attr:href"},"prev":".prev-post a|attr:href","next":".next-post a|attr:href"}},{"id":"katana","meta":{"releases":"latest","titleBase":"manga","readerBase":"manga/{titleSlug}","searchBase":"?search_by=book_name&search=","defaultLang":"en","titleIdType":"id","trailing":false},"releases":{"title":{"sel":"#book_list > .item","id":"|attr:data-id","url":"a|attr:href","name":"a|text","chapter":{"sel":".chapter a","url":"|attr:href","label":"|text"}}},"title":{"id":".bookmark_bt[data-id]|attr:data-id","name":".info h1|text","img":".cover img|attr:src","tags":".info .genres a|text","chapter":{"sel":".chapters tbody > tr","url":"a|attr:href","label":"a|text","at":".update_time|text"}},"reader":{"content":"#imgs","imgs":".wrap_img > img|attr:data-src","label":"select[name=\"chapter_select\"] option:checked|text","prev":".nav_button.prev:not([disabled])|attr:href","next":".nav_button.next:not([disabled])|attr:href","title":{"sel":"#breadcrumb_wrap li:nth-child(2) a","id":".bookmark_chapter_bt[data-id]|attr:data-id","name":"span|text","url":"|attr:href"},"chapter":{"sel":".nav_chapters_wrap:first-child select[name=\"chapter_select\"] option","url":"|attr:value","label":"|text"}}},{"id":"truyenqq","meta":{"releases":"","titleBase":"truyen-tranh","readerBase":"truyen-tranh","searchBase":"tim-kiem.html?q=","defaultLang":"vi","trailing":false,"titleIdType":"id"},"releases":{"title":{"sel":"#list_new > li","name":".book_name h3 a|text","url":".book_name h3 a|attr:href","chapter":{"sel":".last_chapter a","label":"|text","url":"|attr:href"}}},"title":{"id":".btn-subscribe|attr:data-id","name":".book_info h1|text","img":".book_avatar img|attr-contain:src","tags":".book_info li a[href*=\"/the-loai/\"]|text","chapter":{"sel":".works-chapter-list .works-chapter-item","label":".name-chap a|text","url":".name-chap a|attr:href","at":".time-chap|text"}},"reader":{"content":".chapter_content","label":"ol.breadcrumb > li:last-of-type a span|text","prev":".chapter-control a.prev[href]:first-of-type:not(.d-none)|attr:href","next":".chapter-control a.prev[href]:last-of-type:not(.d-none), .chapter-control a.next[href]:not(.d-none)|attr:href","title":{"sel":"ol.breadcrumb > li:nth-of-type(2) a","id":".btn-subscribe|attr:data-id","name":"span|text","url":"|attr:href"},"chapter":{"trigger":".chapter_list","sel":"#popup_content .chapter-list > a, .chapter_list > option","label":"|text","url":"|attr:href || |attr:value"}},"search":{"title":{"sel":"#list_new > li","name":".book_name h3 a|text","url":".book_name h3 a|attr:href"}}},{"id":"uzay","meta":{"releases":"","titleBase":"manga/{id}","readerBase":"manga/{titleId}/{titleSlug}","searchBase":"search?search=","defaultLang":"tr","titleIdType":"slug","trailing":false},"releases":{"title":{"sel":"section[aria-label=\"new series\"] ~ section .header + div > div","url":"a|attr:href","name":"h2|text","chapter":{"sel":"a.mobile-list-item","url":"|attr:href","label":"h3 span:first-child b|text","at":"h3 span:nth-child(2)|text"}}},"title":{"name":".content-details > h1|text","img":".content-info > img|attr:src","tags":".content-details a[href*=\"?categories=\"]|text","chapter":{"sel":".list-episode > a","url":"|attr:href","label":"h3 b|text","at":"span:last-child|text"}},"reader":{"content":".manga-episode-card","label":".header h1 + h2|text","prev":"[aria-label=\"episode-navbar\"] div:not(last-child) > a[href]|attr:href","next":"[aria-label=\"episode-navbar\"] div:last-child > a[href]|attr:href","title":{"sel":".header h1:has(> a) a","url":"|attr:href","name":"|text"}}},{"id":"mangaworld","meta":{"releases":"","titleBase":"manga/{id}","readerBase":"manga/{titleId}/{titleSlug}/read","searchBase":"archive?keyword=","defaultLang":"it","titleIdType":"id"},"releases":{"title":{"sel":".comics-grid > .entry","name":".manga-title|text","url":"a|attr:href","chapter":{"sel":"div:has(> .xanh)","label":"a|text","url":"a|attr:href","at":"i|text"}}},"title":{"name":"h1.name|text","img":".thumb img|attr:src","tags":".meta-data a[href*=\"?genre=\"]|text","type":".meta-data a[href*=\"?type=\"]|text","chapter":{"sel":".chapters-wrapper .chapter > a","url":"|attr:href","label":"span|text","at":"i|text"}},"reader":{"content":"#page","label":"h1|text","lstrip":"select.mode option[value=\"LIST\"]:checked","lstripBtn":"select.mode option[value=\"LIST\"]","title":{"sel":"a[href*=\"/manga/\"]","name":"|text","url":"|attr:href"},"chapter":{"sel":"#controls-1 select.chapter option","label":"|text","url":"|value"}}},{"id":"mangaplus","meta":{"home":"updates","releases":"updates","titleBase":"titles","readerBase":"viewer","defaultLang":"en","titleIdType":"slug","trailing":false,"noTags":true},"releases":{"title":{"sel":"[class*=\"UpdatedTitle-module_titleWrapper_\"]","url":"a|attr:href","name":"[class*=\"UpdatedTitle-module_titleName_\"]|text","chapter":{"sel":"[class*=\"UpdatedTitle-module_chapterTitle_\"]","label":"|text"}}},"title":{"lazy":true,"sel":"h1[class*=\"TitleDetailHeader-module_title_\"]","name":"h1[class*=\"TitleDetailHeader-module_title_\"]|text","img":"img[class*=\"TitleDetailHeader-module_coverImage_\"]|attr:src","chapter":{"sel":"[class*=\"ChapterListItem-module_chapterListItem_\"]","url":"a[class*=\"ChapterListItem-module_commentContainer_\"]|attr:href","label":"[class*=\"ChapterListItem-module_name_\"]|text","at":"[class*=\"ChapterListItem-module_date_\"]|text"}},"reader":{"content":"[class*=\"Viewer-module_viewerContainer_\"]","label":"[class*=\"Navigation-module_chapterTitle_\"]|text","lstrip":"input#mode-vertical:checked","lstripBtn":"input#mode-vertical","title":{"sel":"a:has(> [class*=\"Navigation-module_title_\"])","url":"|attr:href","name":"h1|text"},"chapter":{"sel":"ul > li[class*=\"SideMenu-module_chapter_\"]","label":"|text"}}},{"id":"flame","meta":{"releases":"","titleBase":"series","readerBase":"series/{titleSlug}","searchBase":"browse?search=","defaultLang":"en","titleIdType":"name","trailing":false},"releases":{"title":{"sel":"[class*=\"SeriesCard_chapterCardContainer__\"]","url":"a|attr:href","name":".mantine-Stack-root a|text","chapter":{"sel":"a:has(> [class*=\"SeriesCard_chapterPillWrapper__\"])","url":"|attr:href","label":"p:first-child|text","at":"p:not(:first-child)|text"}}},"title":{"name":"h1|text","img":"img[alt=\"Cover\"]|attr:src","tags":"a[href*=\"/genre/\"] span|text","type":"p[class*=\"SeriesPage_infoField__\"]|row:type","first":".mantine-Paper-root p + a[href*=\"/series/\"]|attr:href","chapter":{"sel":"a[class*=\"ChapterCard_chapterWrapper__\"]","url":"|attr:href","label":"p:first-child|text","at":"p:not(:first-child)|text"}},"reader":{"content":"body","label":"p[class*=\"TopChapterNavbar_chapter_title___\"]|text","prevBtn":"button:has(.bi-arrow-left)","nextBtn":"button:has(.bi-arrow-right)","title":{"sel":"[class*=\"TopChapterNavbar_inner__\"]","name":"[class*=\"TopChapterNavbar_series_title__\"]|text","url":"a|attr:href"},"chapter":{"trigger":"button:has(.bi-card-list)","sel":"[class*=\"ChapterCard_chapterWrapper__\"]","url":"|attr:href","label":"p:first-child|text","at":"p:not(:first-child)|text"}}},{"id":"vortex","meta":{"home":"home","releases":null,"titleBase":"series","readerBase":"series/{titleSlug}","searchBase":"series?searchTerm=","defaultLang":"en","trailing":false,"titleIdType":"name","noTags":true},"title":{"name":"h1[itemprop=\"name\"]|text","img":"[itemprop=\"image\"] img|attr:src","type":"h1:has(> svg)|row:type","first":"a[href*=\"/series/\"][href*=\"/chapter\"]|attr:href","hasMore":"a[href*=\"/series/\"][href*=\"/chapter\"]"},"reader":{"content":"section:has(.image-container),main,body","label":"a[href*=\"/series\"]:has(img) div:has(~ time)|text","prev":"a:has(button[aria-label=\"Prev\"])|attr:href","next":"a:has(button[aria-label=\"Next\"])|attr:href","prevBtn":"button:has(.lucide-chevron-left)","nextBtn":"button:has(.lucide-chevron-right)","title":{"sel":"a[href*=\"/series\"]:has(img)","name":"div:has(~ time)|text","url":"|attr:href"},"chapter":{"trigger":"button:has(.lucide-chevron-down)","sel":"[data-radix-popper-content-wrapper] [role=\"option\"] span[id]","label":"|text"}}},{"id":"weebcentral","meta":{"releases":"","titleBase":"series/{id}","readerBase":"chapters","chapters":"about:blank","defaultLang":"en","titleIdType":"id","trailing":false},"releases":{"title":{"sel":"[x-data*=\"sub_feed_shown\"] section article","url":"a:first-child|attr:href","name":"div:not(:has(span)) div|text","chapter":{"sel":"a:not(:first-child)","url":"|attr:href","label":"div:not(:first-child) span|text","at":"time|attr:datetime"}}},"title":{"name":"h1|text","img":"picture img|attr:src","tags":"li a[href*=\"?included_tag=\"]|text","type":"li a[href*=\"?included_type=\"]|text","hasMore":"#chapter-list a","first":"[x-data]:has(> a[href*=\"chapters/\"]):last-child a|attr:href"},"reader":{"content":"[hx-include*=\"reading_style\"]","label":"[hx-target=\"#chapter-select-body\"] span|text","lstripBtn":"input[value=\"long_strip\"]","lstrip":"input[value=\"long_strip\"]:checked","prevBtn":"button[\\@click=\"prevPage()\"]","nextBtn":"button[\\@click=\"nextPage()\"]","title":{"sel":"#nav-top a[href*=\"/series/\"]","url":"|attr:href","name":"span|text"},"chapter":{"trigger":"button[hx-target=\"#chapter-select-body\"]"}}},{"id":"lua","meta":{"releases":"","titleBase":"series","readerBase":"series/{titleSlug}","titleIdType":"slug","trailing":false,"defaultLang":"en","noTags":true},"releases":{"title":{"sel":"div:has(> div > a[href*=\"/series/\"]):has(a > h5)","url":"a|attr:href","name":"h5|text","chapter":{"sel":"a + div a","url":"|attr:href","label":"span:first-child|text","at":"span:not(:first-child)|text"}}},"title":{"lazy":true,"sel":"ul:has(> * > li)","name":"h1|text","img":"section:has(h1) img[srcset]|attr:src"},"reader":{"label":"h1|text","prev":"a[href*=\"/series/\"]:has(> button [data-icon=\"chevron-left\"])|attr:href","next":"a[href*=\"/series/\"]:has(> button [data-icon=\"chevron-right\"])|attr:href","content":"nav:first-child ~ .container:has(img)","title":{"sel":"nav:has(h1)","name":"h2|text","url":"nav:has(h1) a[href*=\"/series/\"]:has(svg[data-icon=\"house\"])|attr:href","img":"img|attr:src"},"chapter":{"trigger":"button:has(> [data-icon=\"list\"])","sel":"#headlessui-portal-root ul a[href*=\"/series/\"]:has(> li)","url":"|attr:href","label":"span:first-child|text","at":"span:not(first-child)|text"}}},{"id":"mangabuddy","meta":{"home":"home","releases":"home","titleBase":"","readerBase":"{titleSlug}","searchBase":"search?q=","titleIdType":"slug","defaultLang":"en","trailing":false},"releases":{"title":{"sel":".main-container .book-item .meta","name":"h3 a|text","url":"h3 a|attr:href","chapter":{"sel":".chap-item","label":"h4 a|text","url":"h4 a|attr:href","at":".updated-date span|text"}}},"title":{"sel":"#chapter-list","name":"h1|text","img":".img-cover img|attr-contain:src","tags":".detail a[href*=\"/genres/\"]|text","chapter":{"sel":"#chapter-list > li > a","url":"|attr:href","label":".chapter-title|text","at":".chapter-update|text"}},"reader":{"label":"#breadcrumbs-container .breadcrumbs-item:last-child|text","title":{"sel":"#breadcrumbs-container .breadcrumbs-item:nth-child(2) a","url":"|attr:href","name":"span|text"},"content":"#chapter-images","imgDivs":".chapter-image","prev":"a#btn-prev|attr:href","next":"a#btn-next|attr:href","chapter":{"trigger":"#load-chapters","sel":".chapter-select option","url":"|attr:value","label":"|text"}}},{"id":"rolia","meta":{"releases":"updated-mangas","titleBase":"manga","readerBase":"manga/{titleSlug}","chapters":"manga/{titleSlug}/chapterlist","searchBase":"?s=","titleIdType":"name","defaultLang":"en","trailing":true},"releases":{"title":{"sel":".article-feed > div > div:has(> h6)","name":"h6 a|text","url":"h6 a|attr:href","chapter":{"sel":"table tr","label":"a|text","url":"a|attr:href","at":"time|attr:data-date"}}},"title":{"name":"h1|text","img":"img.poster|attr-contain:src","tags":"a[href*=\"/genres/\"]|text","type":".card-movies-series table tr:last-child td|text","first":".chapter-list + a|attr:href","hasMore":".chapter-list ~ a[href*=\"/chapterlist\"]"},"chapters":{"chapter":{"sel":"#page-content-wrapper td:first-child a","url":"|attr:url","label":"|text"}},"reader":{"content":".manga-child-content","label":".childtitle|text","next":".chapter-nav-right|attr:href","prev":".chapter-nav-left|attr:href","title":{"sel":".breadcrumb strong a","name":"|text","url":"|attr:href"},"chapter":{"sel":"#postDropdown option:not(:first-child)","label":"|text","url":"|attr:value"}}},{"id":"lelscanfr","meta":{"releases":"","titleBase":"manga","readerBase":"manga/{titleSlug}","searchBase":"manga?title=","chapters":"meta.reader","titleIdType":"slug","defaultLang":"fr","trailing":false},"releases":{"title":{"sel":"div:has(> #card-real)","url":"a|attr:href","name":"h2|text","chapter":{"sel":"#card-real + div div:has(a)","label":"b|text","url":"a|attr:href","at":"a + span|text"}}},"title":{"name":"main h2|text","img":"main img[alt]|attr-contain:src","tags":"main a[href*=\"genre=\"]|text","type":"a[href*=\"type=\"]|text","hasMore":"ul.pagination","chapter":{"sel":"#chapters-list > a","url":"|attr:href","label":"div:first-child > span|text","at":"div:nth-child(2) > span"}},"reader":{"label":"h2|text","title":{"sel":"h3 a","url":"|attr:href","name":"|text"},"content":"#chapter-container, main","lstrip":"#reading-types option[value=\"long\"]:checked","lstripBtn":"#reading-types option[value=\"long\"]","prev":"div:has(#chapter-select) + div a:first-child[href*=\"/manga/\"]|attr:href","next":"div:has(#chapter-select) + div a:last-child[href*=\"/manga/\"]|attr:href","chapter":{"sel":"div:has(~ #chapter-container) #chapter-select option","label":"|text","url":"|text"}}},{"id":"phoenix","meta":{"releases":"","titleBase":"manga","readerBase":"manga/{titleSlug}","titleIdType":"name","defaultLang":"fr","trailing":false,"noTags":true},"releases":{"title":{"sel":".main__latest-releases-card","url":"a|attr:href","name":"h3 text","chapter":{"sel":"a.main__latest-releases-card-chapter","url":"|attr:href","label":".main__latest-releases-card-chapter-number|text","at":".main__latest-releases-card-chapter-date|text"}}},"title":{"name":"h1|text","img":"img.project__cover|attr-contain:src","chapter":{"sel":"a.project__chapter","url":"|attr:href","label":".project__chapter-title|text","at":".project__chapter-date|text"}},"reader":{"label":".chapter__nav-chapter-title-number|text","title":{"sel":"a.chapter__nav-chapter","url":"|attr:href","name":".chapter__nav-title|text"},"content":".chapter-images__container","prev":"a.chapter__previous|attr:href","next":"a.chapter__next|attr:href","chapter":{"trigger":".chapter-images__controls-chapter","sel":".chapter-list .chapter_item a","url":"|attr:href","label":"|text"}}},{"404":"#content > .wrapper > .notf img, body:empty","id":"nika","meta":{"releases":"","titleBase":"manga","readerBase":"","searchBase":"?s=","idBase":"?p=","titleIdType":"name","defaultLang":"en","trailing":true},"releases":{"title":{"sel":".listupd .utao .uta .luf","url":"a|attr:href","name":"h4|text","chapter":{"sel":"ul li a:has(.eggchap)","url":"|attr:href","label":".eggchap|text","at":".eggtime|text"}}},"title":{"id":".bookmark[data-id]|attr:data-id","name":"h1.entry-title|text","img":".thumb img|attr-contain:src","tags":".mgen a[rel=\"tag\"]|text","type":".imptdt a[href*=\"type=\"]|text","chapter":{"sel":".chapter-item a","url":"|attr:href","label":"div div:first-child|text","at":"div div:not(:first-child)|text"}},"reader":{"content":"#readerarea","id":".ctop option:checked|attr:data-id","label":"h1.entry-title|text","title":{"sel":".headpost .allc a","name":"|text","url":"|attr:href"},"prev":"a.ch-prev-btn:not(.disabled)|attr:href","next":"a.ch-next-btn:not(.disabled)|attr:href","chapter":{"sel":".ctop #chapter option:not([disabled]):not([value=\"\"])","id":"|attr:data-id","label":"|text","url":"|attr:value"}},"search":{"title":{"sel":".listupd .bs .bsx a","url":"|attr:href","name":".bigor .tt|text","img":"img|attr-contain:src"}}},{"id":"manhwaz","meta":{"releases":null,"titleBase":"webtoon","readerBase":"webtoon/{titleSlug}","searchBase":"search?s=","titleIdType":"name","defaultLang":"en","trailing":false},"title":{"name":".post-title h1|text","img":".summary_image img[alt]|attr-contain:src","tags":".genres-content a[rel=\"tag\"]|text","chapter":{"sel":".wp-manga-chapter","label":"a|text","url":"a|attr:href","at":".chapter-release-date i|text"}},"reader":{"label":".breadcrumb .active|text","title":{"sel":".breadcrumb li:has(+ .active) a","url":"|attr:href","name":"|text"},"content":"#chapter_content, .reading-content","prev":".nav-previous a|attr:href","next":".nav-next a|attr:href","chapter":{"sel":"#manga-reading-nav-head .single-chapter-select option","url":"|attr:value","label":"|text"}}},{"id":"merlin","meta":{"releases":null,"titleBase":"series","readerBase":"series/{titleSlug}","searchBase":"search.php?q=","chapters":"meta.reader","titleIdType":"slug","defaultLang":"tr","trailing":false},"title":{"name":"h1.series-title|text","img":"img.cover-image|attr-contain:src","first":".chapter-filters a|attr:href","tags":".category-badge|text","hasMore":".pagination-container .page-btn","chapter":{"sel":"a.chapter-item","url":"|attr:href","label":".chapter-title|text","at":".chapter-date|text"}},"reader":{"label":".reader-header h2|text","title":{"name":".reader-header h1|text"},"content":"#manga-reader-content","prev":".reader-nav-right a:first-of-type:not(:last-of-type)|attr:href","next":".reader-nav-right a:last-of-type:not([href*=\"slug=\"])|attr:href","chapter":{"sel":".reader-nav-center select option","url":"|attr:value","label":"|text"}}},{"id":"dynasty","meta":{"releases":null,"titleBase":"series","readerBase":"chapters","searchBase":"search?q=","titleIdType":"slug","defaultLang":"en","trailing":false},"title":{"name":"h2.tag-title b|text","img":".cover img|attr-contain:src","tags":".tag-tags a.label|text","chapter":{"sel":".chapter-list dd:has(> a.name)","url":"a|attr:href","label":"a|text","at":"small|text"}},"reader":{"label":"h3#chapter-title b|text","title":{"sel":"h3#chapter-title b a","url":"|attr:href","name":"|text"},"content":"#image","prev":"a#prev_link|attr:href","next":"a#next_link|attr:href"}}]
|
package/stripper.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(s,l){typeof exports=="object"&&typeof module<"u"?l(exports):typeof define=="function"&&define.amd?define(["exports"],l):(s=typeof globalThis<"u"?globalThis:s||self,l(s.$mpStripper={}))})(this,function(s){"use strict";var l=Object.defineProperty,A=(t,e,n)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,S=(t,e,n)=>(A(t,typeof e!="symbol"?e+"":e,n),n);class m{constructor(){S(this,"elsPool",new Map)}check(e){if(!e||e===document.body)return!0;const n=this.elsPool.get(e);if(n!==void 0)return n;const r=getComputedStyle(e);if(!(r.display!=="none"&&+(r.opacity??"1")>.1))return this.elsPool.set(e,!1),!1;const o=this.check(e.parentElement);return this.elsPool.set(e,o),o}}function w(t=0){return new Promise(e=>setTimeout(e,t))}async function f(t,e,n){const r=await n(()=>{t=0});if(r!==void 0)return r;if(!(t<=0))return await new Promise(o=>{setTimeout(async()=>{const i=await f(t-1,e,n);o(i)},e)})}async function M(t,e,n=0){const r=e.root??document.documentElement,o=e.timeoutMs??1e4;return f(e.lazy===!0?o/50:0,50,()=>{const i=e.all===!0?Array.from(r.querySelectorAll(t)):r.querySelector(t)??void 0;return(e.all?!i?.length:!i)?void 0:i})}function u(t){const e=t.getBoundingClientRect();return e.width>=200&&e.height>=200}async function H(t,e){const n=await L(t,e);return y(n?.parentElement??t)}async function L(t,e){if(e?.imgDivs)return await M(e.imgDivs,{lazy:!0,timeoutMs:15e3});const n=Array.from(t.querySelectorAll(e?.imgs?.split("|")[0]??"img,canvas"));if(!n.length)return;const r=new m;return n.find(o=>r.check(o)&&(u(o)||o instanceof HTMLImageElement&&(!o.width||!o.height)))}function y(t){return t===document.documentElement||t.scrollHeight-t.clientHeight>=10&&window.getComputedStyle(t).overflow!=="visible"?t:y(t.parentElement)}function T(t){if(t instanceof HTMLOptionElement){const e=t.parentElement instanceof HTMLOptGroupElement?t.parentElement.parentElement:t.parentElement;if(!e||!(e instanceof HTMLSelectElement))return;const n=t.getAttribute("value")||"";if(e.value===n)return;e.value=n,e.dispatchEvent(new Event("change"));return}return t instanceof HTMLAnchorElement&&t.addEventListener("click",e=>e.preventDefault(),{once:!0}),t.click()}async function P(t){const e=await I(t),n=t?.content;return n?await f(e?30:10,100,()=>{for(const r of n.split(",")){const o=document.querySelector(r);if(o)return o}})??document.body:document.body}async function I(t){const{lstrip:e,lstripBtn:n}=t||{};if(!e||!n||document.querySelector(e))return!1;const r=await f(50,30,()=>document.querySelector(n));return r?(T(r),await w(),!0):!1}function q(t){return g(t)}async function g(t,e=0,n=0){const r=await P(t);C(r);const o=await H(r,t);await k(o,{stepMs:100,durationMs:1e4});const i=new m,a=t?.imgDivs?R(r,t.imgDivs,i):p(r,i),c=a===void 0;if(c&&n===50){if(!t?.imgDivs&&E(r,i))return r;throw new Error("EMPTY")}return a!==!1?(await w(500),await g(t,0,c?n+1:0),r):e>=1?r:await g(t,e+1)}function C(t){const e=Array.from(t.querySelectorAll('img[loading="lazy"]'));for(const n of e)n.setAttribute("loading","eager");h(t,"data-src"),h(t,"data-url")}function h(t,e){const n=Array.from(t.querySelectorAll(`img[${e}]`));for(const r of n){const o=r.getAttribute(e)?.split(" ")[0];o&&r.src!==o&&(r.src=o)}}function R(t,e,n){const r=Array.from(t.querySelectorAll(e));if(r.length)return r.some(o=>E(o,n)?!1:p(o,n)!==!1)}function p(t,e){const n=Array.from(t.querySelectorAll("img"));let r=!1;for(const o of n){if(!e.check(o))continue;const i=u(o);if(r=r||i,o.complete){if(i&&!o.naturalWidth&&!o.naturalHeight)throw new Error("IMG_ERR")}else if(i||!o.width||!o.height)return!0}return r?!1:void 0}function E(t,e){return Array.from(t.querySelectorAll("canvas")).some(n=>e.check(n)&&u(n))}async function k(t,{stepMs:e,durationMs:n}){await D(t,n,e)}async function D(t,e,n){t.style.setProperty("scroll-behavior","auto");let r=e;for(;r>0&&t.scrollTop+t.clientHeight+200<t.scrollHeight;){const o=t.scrollHeight-t.scrollTop-t.clientHeight;t.scrollTop+=o/(r/n),r-=n,await w(n)}}async function $(t,e){const n=e?.imgDivs;return n?await W(t,n):await j(t,e)}async function W(t,e){const n=Array.from(t.querySelectorAll(e)),r=[],o=new m;for(const i of n){const a=Array.from(i.querySelectorAll("img,canvas"));for(const c of a)o.check(c)&&u(c)&&r.push(c)}return r}function j(t,e){const n=[],r={},o=new m;return t.querySelectorAll(e?.imgs?.split("|")[0]??"img,canvas").forEach(async i=>{if(!(!o.check(i)||!u(i))){if(i instanceof HTMLImageElement){const a=r[i.src];if(a!==void 0&&a!==-1){n.splice(a,1);return}r[i.src]=n.length}n.push(i)}}),n}async function O(t){return t instanceof HTMLCanvasElement?t.toDataURL("image/jpeg",1):await U(t)}async function U(t){if(!t.src.startsWith("blob:")||await x(t))return t.src;const e=document.createElement("canvas"),n=e.getContext("2d"),r=t.naturalWidth,o=t.naturalHeight;return e.width=r,e.height=o,n?.drawImage(t,0,0,r,o),e.toDataURL("image/jpeg",1)}function x(t){return new Promise(e=>{const n=new Image;n.onload=()=>e(!0),n.onerror=()=>e(!1),n.src=t.src})}function z(t,{isWeb:e}){const n=!e&&navigator.userAgent.toLowerCase().includes("android");return Promise.all(t.map(async({src:r,el:o})=>{let i,a;const c=r.startsWith("data:");if(n){const b=r.startsWith("blob:");!b&&!c&&(a=await d(r,o)),i=b?await _(r):r}else e?c?i=r:(a=await d(r,o,!0),i=V(a)):c?(i=await G(r),a=await d(i)):(i=r,a=await d(r,o));return{src:i,el:a}}))}function d(t,e,n){if(e&&e instanceof HTMLImageElement&&!n)return Array.from(e.attributes).forEach(o=>{o.name!=="src"&&e.removeAttribute(o.name)}),e;const r=(o=1)=>new Promise((i,a)=>{const c=document.createElement("img");n&&(c.crossOrigin="anonymous"),c.onload=()=>i(c),c.onerror=()=>{o<2?r(o+1).then(i).catch(a):a(new Error("RESOLVE_IMG_ERR"))},c.src=t});return r()}async function G(t){const e=await(await fetch(t)).blob();return URL.createObjectURL(e)}async function _(t){const e=await fetch(t);return await B(await e.blob())}function B(t){return new Promise((e,n)=>{const r=new FileReader;r.onloadend=()=>e(r.result),r.readAsDataURL(t)
|
|
1
|
+
(function(s,l){typeof exports=="object"&&typeof module<"u"?l(exports):typeof define=="function"&&define.amd?define(["exports"],l):(s=typeof globalThis<"u"?globalThis:s||self,l(s.$mpStripper={}))})(this,function(s){"use strict";var l=Object.defineProperty,A=(t,e,n)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,S=(t,e,n)=>(A(t,typeof e!="symbol"?e+"":e,n),n);class m{constructor(){S(this,"elsPool",new Map)}check(e){if(!e||e===document.body)return!0;const n=this.elsPool.get(e);if(n!==void 0)return n;const r=getComputedStyle(e);if(!(r.display!=="none"&&+(r.opacity??"1")>.1))return this.elsPool.set(e,!1),!1;const o=this.check(e.parentElement);return this.elsPool.set(e,o),o}}function w(t=0){return new Promise(e=>setTimeout(e,t))}async function f(t,e,n){const r=await n(()=>{t=0});if(r!==void 0)return r;if(!(t<=0))return await new Promise(o=>{setTimeout(async()=>{const i=await f(t-1,e,n);o(i)},e)})}async function M(t,e,n=0){const r=e.root??document.documentElement,o=e.timeoutMs??1e4;return f(e.lazy===!0?o/50:0,50,()=>{const i=e.all===!0?Array.from(r.querySelectorAll(t)):r.querySelector(t)??void 0;return(e.all?!i?.length:!i)?void 0:i})}function u(t){const e=t.getBoundingClientRect();return e.width>=200&&e.height>=200}async function H(t,e){const n=await L(t,e);return y(n?.parentElement??t)}async function L(t,e){if(e?.imgDivs)return await M(e.imgDivs,{lazy:!0,timeoutMs:15e3});const n=Array.from(t.querySelectorAll(e?.imgs?.split("|")[0]??"img,canvas"));if(!n.length)return;const r=new m;return n.find(o=>r.check(o)&&(u(o)||o instanceof HTMLImageElement&&(!o.width||!o.height)))}function y(t){return t===document.documentElement||t.scrollHeight-t.clientHeight>=10&&window.getComputedStyle(t).overflow!=="visible"?t:y(t.parentElement)}function T(t){if(t instanceof HTMLOptionElement){const e=t.parentElement instanceof HTMLOptGroupElement?t.parentElement.parentElement:t.parentElement;if(!e||!(e instanceof HTMLSelectElement))return;const n=t.getAttribute("value")||"";if(e.value===n)return;e.value=n,e.dispatchEvent(new Event("change"));return}return t instanceof HTMLAnchorElement&&t.addEventListener("click",e=>e.preventDefault(),{once:!0}),t.click()}async function P(t){const e=await I(t),n=t?.content;return n?await f(e?30:10,100,()=>{for(const r of n.split(",")){const o=document.querySelector(r);if(o)return o}})??document.body:document.body}async function I(t){const{lstrip:e,lstripBtn:n}=t||{};if(!e||!n||document.querySelector(e))return!1;const r=await f(50,30,()=>document.querySelector(n));return r?(T(r),await w(),!0):!1}function q(t){return g(t)}async function g(t,e=0,n=0){const r=await P(t);C(r);const o=await H(r,t);await k(o,{stepMs:100,durationMs:1e4});const i=new m,a=t?.imgDivs?R(r,t.imgDivs,i):p(r,i),c=a===void 0;if(c&&n===50){if(!t?.imgDivs&&E(r,i))return r;throw new Error("EMPTY")}return a!==!1?(await w(500),await g(t,0,c?n+1:0),r):e>=1?r:await g(t,e+1)}function C(t){const e=Array.from(t.querySelectorAll('img[loading="lazy"]'));for(const n of e)n.setAttribute("loading","eager");h(t,"data-src"),h(t,"data-url")}function h(t,e){const n=Array.from(t.querySelectorAll(`img[${e}]`));for(const r of n){const o=r.getAttribute(e)?.split(" ")[0];o&&r.src!==o&&(r.src=o)}}function R(t,e,n){const r=Array.from(t.querySelectorAll(e));if(r.length)return r.some(o=>E(o,n)?!1:p(o,n)!==!1)}function p(t,e){const n=Array.from(t.querySelectorAll("img"));let r=!1;for(const o of n){if(!e.check(o))continue;const i=u(o);if(r=r||i,o.complete){if(i&&!o.naturalWidth&&!o.naturalHeight)throw new Error("IMG_ERR")}else if(i||!o.width||!o.height)return!0}return r?!1:void 0}function E(t,e){return Array.from(t.querySelectorAll("canvas")).some(n=>e.check(n)&&u(n))}async function k(t,{stepMs:e,durationMs:n}){await D(t,n,e)}async function D(t,e,n){t.style.setProperty("scroll-behavior","auto");let r=e;for(;r>0&&t.scrollTop+t.clientHeight+200<t.scrollHeight;){const o=t.scrollHeight-t.scrollTop-t.clientHeight;t.scrollTop+=o/(r/n),r-=n,await w(n)}}async function $(t,e){const n=e?.imgDivs;return n?await W(t,n):await j(t,e)}async function W(t,e){const n=Array.from(t.querySelectorAll(e)),r=[],o=new m;for(const i of n){const a=Array.from(i.querySelectorAll("img,canvas"));for(const c of a)o.check(c)&&u(c)&&r.push(c)}return r}function j(t,e){const n=[],r={},o=new m;return t.querySelectorAll(e?.imgs?.split("|")[0]??"img,canvas").forEach(async i=>{if(!(!o.check(i)||!u(i))){if(i instanceof HTMLImageElement){const a=r[i.src];if(a!==void 0&&a!==-1){n.splice(a,1);return}r[i.src]=n.length}n.push(i)}}),n}async function O(t){return t instanceof HTMLCanvasElement?t.toDataURL("image/jpeg",1):await U(t)}async function U(t){if(!t.src.startsWith("blob:")||await x(t))return t.src;const e=document.createElement("canvas"),n=e.getContext("2d"),r=t.naturalWidth,o=t.naturalHeight;return e.width=r,e.height=o,n?.drawImage(t,0,0,r,o),e.toDataURL("image/jpeg",1)}function x(t){return new Promise(e=>{const n=new Image;n.onload=()=>e(!0),n.onerror=()=>e(!1),n.src=t.src})}function z(t,{isWeb:e}){const n=!e&&navigator.userAgent.toLowerCase().includes("android");return Promise.all(t.map(async({src:r,el:o})=>{let i,a;const c=r.startsWith("data:");if(n){const b=r.startsWith("blob:");!b&&!c&&(a=await d(r,o)),i=b?await _(r):r}else e?c?i=r:(a=await d(r,o,!0),i=V(a)):c?(i=await G(r),a=await d(i)):(i=r,a=await d(r,o));return{src:i,el:a}}))}function d(t,e,n){if(e&&e instanceof HTMLImageElement&&!n)return Array.from(e.attributes).forEach(o=>{o.name!=="src"&&e.removeAttribute(o.name)}),e;const r=(o=1)=>new Promise((i,a)=>{const c=document.createElement("img");n&&(c.crossOrigin="anonymous"),c.onload=()=>i(c),c.onerror=()=>{o<2?r(o+1).then(i).catch(a):a(new Error("RESOLVE_IMG_ERR"))},c.src=t});return r()}async function G(t){const e=await(await fetch(t)).blob();return URL.createObjectURL(e)}async function _(t){const e=await fetch(t);return await B(await e.blob())}function B(t){return new Promise((e,n)=>{const r=new FileReader;r.onloadend=()=>e(r.result),r.onerror=n,r.readAsDataURL(t)})}function V(t){const e=document.createElement("canvas"),n=e.getContext("2d"),r=t.naturalWidth,o=t.naturalHeight;return e.width=r,e.height=o,n.drawImage(t,0,0,r,o),e.toDataURL("image/webp")}async function F({title:t,imgs:e}){document.open(),document.close(),document.documentElement.style.setProperty("background","black"),document.title=t;const n=document.createElement("meta");n.setAttribute("name","viewport"),n.setAttribute("content","width=device-width, initial-scale=1, user-scalable=0"),document.head.appendChild(n);const r=document.createElement("div");r.style.setProperty("display","none");const o=document.createElement("code");o.innerText=e.map(({src:i})=>i).join(" "),r.appendChild(o),document.body.appendChild(r),e.forEach(({el:i})=>i&&document.body.appendChild(i))}async function Q({spec:t,raw:e}){const n=await v({spec:t,raw:e});return await F({title:e.title.name,imgs:n}),{...e,prev:void 0,imgs:void 0,title:{...e.title,chapters:[]}}}async function v({spec:t,raw:e,isWeb:n}){const r=e.imgs?.length?e.imgs.map(o=>({src:o})):await Y(t.reader);if(!r.length)throw new Error("Empty");return await z(r,{isWeb:n})}async function Y(t){const e=await q(t),n=await $(e,t);return await Promise.all(n.map(async r=>({src:await O(r),el:r})))}s.loadImages=v,s.strip=Q});
|