ThePornDatabase / stash_theporndb_scraper

A python script to scrape Stash data from thePornDB
MIT License
68 stars 18 forks source link

Support filter for organized and scenes with a stash_id #24

Closed bnkai closed 3 years ago

bnkai commented 3 years ago

Adds two more configuration options scrape_stash_id and scrape_organized. scrape_stash_id if set to false (which is the default) skips scenes that have a stash_id. Those are scenes that were already matched using stashdb so most users probably dont need to rescrape them scrape_organized if set to false (also the default) skips scenes that have the organized field set. Having a scene as organized should mean that the scene is complete/done so there shouldnt be a case where we want to have scrape_organized = True but the option is there if needed

If a TPDB API key is not provided the script will now exit as users encounter 400 errors now if they dont fill in their API key.

ChalupaBatman69 commented 3 years ago

Cheers @bnkai