mvabdi / vsco-scraper

Easily allows for scraping a VSCO
MIT License
133 stars 25 forks source link

KeyError when trying to download #5

Closed SilverMight closed 6 years ago

SilverMight commented 6 years ago

Getting this error when attempting to use --getImages on an account:

Traceback (most recent call last): File "/usr/bin/vsco-scraper", line 11, in sys.exit(main()) File "/usr/lib/python3.6/site-packages/vscoscrape/vscoscrape.py", line 211, in main scraper = Scraper(args.username) File "/usr/lib/python3.6/site-packages/vscoscrape/vscoscrape.py", line 26, in init self.newSiteId() File "/usr/lib/python3.6/site-packages/vscoscrape/vscoscrape.py", line 33, in newSiteId self.siteid = res.json()["sites"][0]["id"] KeyError: 'sites'

SilverMight commented 6 years ago

My bad, believe I had an existing folder with the same name that caused the issue