forked from DebaucheryLibrarian/traxxx
Rescraping upcoming scenes. Fixed language and scene deep scraping for Dorcel scraper.
This commit is contained in:
@@ -430,6 +430,10 @@ function init(context, selector, window) {
|
||||
|
||||
const element = selector ? context.querySelector(selector) : context;
|
||||
|
||||
if (!element) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const legacyContextFuncs = Object.entries(legacyFuncs) // dynamically attach methods with context
|
||||
.reduce((acc, [key, func]) => ({
|
||||
...acc,
|
||||
|
||||
Reference in New Issue
Block a user