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
I've been hacking at this for months so I decided to call for help.
BTW the VS Code lintr has quite a few complaints as well--mostly about unused import/from
$ python main.py artwork
there are 2 users
download artworks for user smith
Traceback (most recent call last):
File "C:\DevProjects\deviantart-scraper-master\main.py", line 59, in
main()
File "C:\DevProjects\deviantart-scraper-master\main.py", line 44, in main
download_users(api, config, args.option)
File "C:\DevProjects\deviantart-scraper-master\main.py", line 14, in download_users
result = api.save_users_artworks(config.users, config.save_dir)
File "C:\DevProjects\deviantart-scraper-master\lib\deviantart.py", line 191, in save_users_artworks
files = self.save_user_artworks(user, dir_path)
File "C:\DevProjects\deviantart-scraper-master\lib\deviantart.py", line 181, in save_user_artworks
files = pool.map(partial(self.save_artwork, dir_path), artworks)
File "C:\SoftwareDevelopment\PythonPython39\lib\multiprocessing\pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "C:\SoftwareDevelopment\PythonPython39\lib\multiprocessing\pool.py", line 771, in get
raise self._value
File "C:\SoftwareDevelopment\PythonPython39\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\SoftwareDevelopment\PythonPython39\lib\multiprocessing\pool.py", line 48, in mapstar
return list(map(*args))
File "C:\DevProjects\deviantart-scraper-master\lib\deviantart.py", line 155, in save_artwork
download_url = self._download_url(artwork)
File "C:\DevProjects\deviantart-scraper-master\lib\deviantart.py", line 112, in _download_url
url = next(a['src'] for a in artwork['files'] if a['Art_type']=='fullview')
KeyError: 'files'
The text was updated successfully, but these errors were encountered:
I've been hacking at this for months so I decided to call for help.
BTW the VS Code lintr has quite a few complaints as well--mostly about unused import/from
$ python main.py artwork
there are 2 users
download artworks for user smith
Traceback (most recent call last):
File "C:\DevProjects\deviantart-scraper-master\main.py", line 59, in
main()
File "C:\DevProjects\deviantart-scraper-master\main.py", line 44, in main
download_users(api, config, args.option)
File "C:\DevProjects\deviantart-scraper-master\main.py", line 14, in download_users
result = api.save_users_artworks(config.users, config.save_dir)
File "C:\DevProjects\deviantart-scraper-master\lib\deviantart.py", line 191, in save_users_artworks
files = self.save_user_artworks(user, dir_path)
File "C:\DevProjects\deviantart-scraper-master\lib\deviantart.py", line 181, in save_user_artworks
files = pool.map(partial(self.save_artwork, dir_path), artworks)
File "C:\SoftwareDevelopment\PythonPython39\lib\multiprocessing\pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "C:\SoftwareDevelopment\PythonPython39\lib\multiprocessing\pool.py", line 771, in get
raise self._value
File "C:\SoftwareDevelopment\PythonPython39\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\SoftwareDevelopment\PythonPython39\lib\multiprocessing\pool.py", line 48, in mapstar
return list(map(*args))
File "C:\DevProjects\deviantart-scraper-master\lib\deviantart.py", line 155, in save_artwork
download_url = self._download_url(artwork)
File "C:\DevProjects\deviantart-scraper-master\lib\deviantart.py", line 112, in _download_url
url = next(a['src'] for a in artwork['files'] if a['Art_type']=='fullview')
KeyError: 'files'
The text was updated successfully, but these errors were encountered: