Closed 97997 closed 3 years ago
approximately the same here
**Python version: 3.5
**Bandcamp-dl version: 0.0.8.12
**Bancamp-dl options: bandcamp-dl URL
**url: https://bangface.bandcamp.com/album/bangface-neo-rave-armageddon
Traceback (most recent call last):
File "/home/switch/.local/bin/bandcamp-dl", line 10, in
I had the same issue when I used pypi to install it. Then I installed it from source and now it's working.
I also installed from source, and i just did it again, but still, is not working
The program is working correctly after aplying this fix (reinstalling from source)
hi! i was getting the same error showed above, and uninstalling the old version and installing the latest version built from source (obtained via the link in the main page here in github) made things work here. i also had to point the
python
command to usepython3
in the meanwhile, because bandcamp-dl was using the version provided bypython
, and in my case that was 2.7.something.in sum:
pip3 uninstall bandcamp-downloader cd /WhereYouExtractedTheZIP [optional] sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1 python setup.py install
Indeed, it worked like a charm after installing from source. Thanks a lot @eledah and @97997 .
**Python version: 3.8.4
**Bandcamp-dl version: 0.0.9.post1
**Bancamp-dl options: bandcamp-dl URL
**url: https://obozdur.bandcamp.com/album/silver-cross-clone
**Describe the issue: AttributeError: 'NoneType' object has no attribute 'string'
Traceback (most recent call last): File "C:\Python38\Scripts\bandcamp-dl-script.py", line 11, in
load_entry_point('bandcamp-downloader==0.0.9.post1', 'console_scripts', 'bandcamp-dl')()
File "C:\Python38\lib\site-packages\bandcamp_dl__main__.py", line 93, in main
album = bandcamp.parse(url, True, arguments['--embed-lyrics'], arguments['--debug'])
File "C:\Python38\lib\site-packages\bandcamp_dl\bandcamp.py", line 40, in parse
bandcamp_json = BandcampJSON(self.soup, debugging).generate()
File "C:\Python38\lib\site-packages\bandcamp_dl\bandcampjson.py", line 18, in generate
self.get_js()
File "C:\Python38\lib\site-packages\bandcamp_dl\bandcampjson.py", line 29, in get_js
embedded_scripts_raw = [self.body.find("script", {"type": "application/json+ld"}).string]
AttributeError: 'NoneType' object has no attribute 'string'