Added 'newly added' filter. Handling paywalled videos in Private scraper. Added shoot ID to search.
This commit is contained in:
@@ -271,7 +271,7 @@ function groupItems(items) {
|
||||
}
|
||||
|
||||
async function storeMedia(sources, domain, role, { entropyFilter = 2.5 } = {}) {
|
||||
const presentSources = sources.filter(Boolean);
|
||||
const presentSources = sources.filter(source => typeof source === 'string' || Array.isArray(source) || (source && source.src));
|
||||
|
||||
if (presentSources.length === 0) {
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user