pierre-delecto / stash_theporndb_scraper

A python script to scrape Stash data from thePornDB
MIT License
50 stars 31 forks source link

Adjustment to scrapescene.py line 955 #17

Open smonaco694 opened 3 years ago

smonaco694 commented 3 years ago

In order to get my script to function I had to add result = tag_name.lower() as a new line 956

Debug error was:

"/stash_theporndb_scraper-master/scrapeScenes.py", line 955, in main tag = my_stash.getTagByName(tag_name, False) File "/stash_theporndb_scraper-master/StashInterface.py", line 613, in getTagByName logging.debug("Getting tag id for tag '"+name+"'.") TypeError: can only concatenate str (not "NoneType") to str

jeremymeyers commented 2 years ago

@smonaco694 could you paste the context for where this goes? Should probably be a pull request in https://github.com/ThePornDatabase/stash_theporndb_scraper as that looks to be the more updated version. (i'm also getting this error and the current version of the script has the errors here:

Traceback (most recent call last): File "M:\stash-tools\stash-theporndbscraper-new\stash_theporndb_scraper\scrapeScenes.py", line 1169, in main tag = my_stash.getTagByName(tag_name, False) File "M:\stash-tools\stash-theporndbscraper-new\stash_theporndb_scraper\StashInterface.py", line 620, in getTagByName logging.debug("Getting tag id for tag \'"+name+"\'.") TypeError: can only concatenate str (not "NoneType") to str