You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2024. It is now read-only.
I believe that tpdb likely changed their api results format for scenes sometime this year when it comes to scene tags. When running scrapeScenes.py and a successful hit occurs, it fails to update the scene with the following error:
ERROR:root:Scrape succeeded, but update failed:
Traceback (most recent call last):
File "/mnt/d/GIT/stash_theporndb_scraper/scrapeScenes.py", line 752, in updateSceneFromScrape
tag_name = tag_dict['tag'].replace('-', ' ').replace('(', '').replace(')', '').strip().title()
KeyError: 'tag'
The tag results is a list of dictionaries under 'data.tags' in the json return, simplified example below: