wikiart icon indicating copy to clipboard operation
wikiart copied to clipboard

de BASEURL doesn't work

Open dpuschek opened this issue 7 months ago • 1 comments

I like to get the German titles of paintings. I just tried changing BASEURL in settings.py to 'de' without luck:

WikiArt base url.

BASE_URL = 'https://www.wikiart.org/de/App'

python3 wikiart.py --datadir ./new-dir/ fetch --only 'van gogh'

[code] WikiArt.

Author: Lucas David -- [email protected] License: MIT License (c) 2016

info: Fetching artists... Done (5.26 sec)

Fetching paintings of artist: van gogh (Metadata retrieval is slow and can take minutes. Please be patient) Traceback (most recent call last): File "/var/downloads/wikiart/wikiart-master/wikiart.py", line 4, in main() File "/var/downloads/wikiart/wikiart-master/wikiart/console.py", line 109, in main Console().interpret() File "/var/downloads/wikiart/wikiart-master/wikiart/console.py", line 68, in interpret args.func(args) File "/var/downloads/wikiart/wikiart-master/wikiart/console.py", line 91, in fetch f.fetch_artist(args.only).copy_everything() ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/downloads/wikiart/wikiart-master/wikiart/fetcher.py", line 143, in fetch_artist if re.search(artist_name.lower(), artist['artistName'].lower()): ^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'lower'

[/code]

Is there any chance to make it work?

dpuschek avatar Jul 19 '24 20:07 dpuschek