[8tracks] throws 403 error after first 4 songs. Nothing downloads. #1839

Closed
opened 2026-02-20 22:18:16 -05:00 by deekerman · 11 comments
Owner

Originally created by @xvvvyz on GitHub (Feb 4, 2014).

8tracks recently updated their API to version 3. They probably updated their security on this (because, according to their license, you can only skip 3 songs within a certain time frame).

Originally created by @xvvvyz on GitHub (Feb 4, 2014). 8tracks recently updated their API to version 3. They probably updated their security on this (because, according to their license, you can only skip 3 songs within a certain time frame).
deekerman 2026-02-20 22:18:16 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jaimeMF commented on GitHub (Feb 4, 2014):

Please post the full output you get when running youtube-dl SOME_8TRACK_URL -v. As stated in the bug reporting guide, it's nearly impossible to debug the errors without that info.

@jaimeMF commented on GitHub (Feb 4, 2014): Please post the full output you get when running `youtube-dl SOME_8TRACK_URL -v`. [As stated in the bug reporting guide](https://github.com/rg3/youtube-dl#bugs), it's nearly impossible to debug the errors without that info.
Author
Owner

@xvvvyz commented on GitHub (Feb 4, 2014):

Results:

cade@batman:~> youtube-dl --verbose "http://8tracks.com/cadejscroggins/blast-off"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://8tracks.com/cadejscroggins/blast-off']
[debug] Encodings: locale 'UTF-8', fs 'utf-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.04
[debug] Python version 2.7.6 - Darwin-13.0.0-x86_64-i386-64bit
[debug] Proxy map: {}
[8tracks] blast-off: Downloading webpage
[8tracks] blast-off: Downloading song information 1/13
[8tracks] blast-off: Downloading song information 2/13
[8tracks] blast-off: Downloading song information 3/13
[8tracks] blast-off: Downloading song information 4/13
[8tracks] blast-off: Downloading song information 5/13
ERROR: Failed to download song information: HTTP Error 403: Forbidden; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 191, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1157, in urlopen
return self._opener.open(req)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

@xvvvyz commented on GitHub (Feb 4, 2014): Results: cade@batman:~> youtube-dl --verbose "http://8tracks.com/cadejscroggins/blast-off" [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'http://8tracks.com/cadejscroggins/blast-off'] [debug] Encodings: locale 'UTF-8', fs 'utf-8', out 'UTF-8', pref: 'UTF-8' [debug] youtube-dl version 2014.02.04 [debug] Python version 2.7.6 - Darwin-13.0.0-x86_64-i386-64bit [debug] Proxy map: {} [8tracks] blast-off: Downloading webpage [8tracks] blast-off: Downloading song information 1/13 [8tracks] blast-off: Downloading song information 2/13 [8tracks] blast-off: Downloading song information 3/13 [8tracks] blast-off: Downloading song information 4/13 [8tracks] blast-off: Downloading song information 5/13 ERROR: Failed to download song information: HTTP Error 403: Forbidden; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update. File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 191, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1157, in urlopen return self._opener.open(req) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error return self._call_chain(_args) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(_args) File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
Author
Owner

@jaimeMF commented on GitHub (Feb 4, 2014):

Thanks, we will investigate. It seems that not all urls fail, at least our test url (http://8tracks.com/ytdl/youtube-dl-test-tracks-a) works fine (although it failed a few days ago).

@jaimeMF commented on GitHub (Feb 4, 2014): Thanks, we will investigate. It seems that not all urls fail, at least our test url (http://8tracks.com/ytdl/youtube-dl-test-tracks-a) works fine (although it failed a few days ago).
Author
Owner

@xvvvyz commented on GitHub (Feb 4, 2014):

So I found a fix. The download script (eighttracks.py) doesn't even use the 8tracks API. I modified it to use API version 3, and it seems to fix the issue.

@xvvvyz commented on GitHub (Feb 4, 2014): So I found a fix. The download script (eighttracks.py) doesn't even use the 8tracks API. I modified it to use API version 3, and it seems to fix the issue.
Author
Owner

@jaimeMF commented on GitHub (Feb 4, 2014):

Feel free to open a pull request with the fix.

@jaimeMF commented on GitHub (Feb 4, 2014): Feel free to open a pull request with the fix.
Author
Owner

@izaakm commented on GitHub (Sep 8, 2014):

Similar problem...

youtube-dl --verbose 'http://8tracks.com/noonpacific/noon-103'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://8tracks.com/noonpacific/noon-103']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.09.06
[debug] Python version 2.6.9 - Darwin-13.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[8tracks] noon-103: Downloading webpage
[8tracks] noon-103: Downloading song information 1/10
[8tracks] noon-103: Downloading song information 2/10
[8tracks] noon-103: Downloading song information 3/10
[8tracks] noon-103: Downloading song information 4/10
[8tracks] noon-103: Downloading song information 5/10
ERROR: Failed to download song information: HTTP Error 403: Forbidden; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 211, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1244, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 435, in error
return self._call_chain(_args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(_args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

@izaakm commented on GitHub (Sep 8, 2014): Similar problem... youtube-dl --verbose 'http://8tracks.com/noonpacific/noon-103' [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'http://8tracks.com/noonpacific/noon-103'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2014.09.06 [debug] Python version 2.6.9 - Darwin-13.3.0-x86_64-i386-64bit [debug] Proxy map: {} [8tracks] noon-103: Downloading webpage [8tracks] noon-103: Downloading song information 1/10 [8tracks] noon-103: Downloading song information 2/10 [8tracks] noon-103: Downloading song information 3/10 [8tracks] noon-103: Downloading song information 4/10 [8tracks] noon-103: Downloading song information 5/10 ERROR: Failed to download song information: HTTP Error 403: Forbidden; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update. File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 211, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1244, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 397, in open response = meth(req, response) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 510, in http_response 'http', request, response, code, msg, hdrs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 435, in error return self._call_chain(_args) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(_args) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 518, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
Author
Owner

@ghost commented on GitHub (Nov 9, 2014):

Identical error to @izaakm, latest pip upgrade.

@ghost commented on GitHub (Nov 9, 2014): Identical error to @izaakm, latest pip upgrade.
Author
Owner

@xiaose commented on GitHub (Dec 29, 2014):

Previously I can but now I cannot to download anything from 8tracks site. All time get HTTP Error 403: Forbidden

May be thay there change smth., I don't know... but in browser I can open page http://8tracks.com/jbear_4/new-american-roots-vol-i

$ youtube-dl --verbose http://8tracks.com/jbear_4/new-american-roots-vol-i
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://8tracks.com/jbear_4/new-american-roots-vol-i']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.15
[debug] Python version 2.7.6 - Linux-3.13.0-40-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.16-6, avprobe 9.16-6
[debug] Proxy map: {}
[8tracks] new-american-roots-vol-i: Downloading webpage
[8tracks] new-american-roots-vol-i: Downloading song information 1/12
[8tracks] new-american-roots-vol-i: Downloading song information 2/12
[8tracks] new-american-roots-vol-i: Downloading song information 3/12
[8tracks] new-american-roots-vol-i: Downloading song information 4/12
[8tracks] new-american-roots-vol-i: Downloading song information 5/12
ERROR: Failed to download song information: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 276, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1370, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
@xiaose commented on GitHub (Dec 29, 2014): Previously I can but now I cannot to download anything from 8tracks site. All time get HTTP Error 403: Forbidden May be thay there change smth., I don't know... but in browser I can open page http://8tracks.com/jbear_4/new-american-roots-vol-i ``` $ youtube-dl --verbose http://8tracks.com/jbear_4/new-american-roots-vol-i [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'http://8tracks.com/jbear_4/new-american-roots-vol-i'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2014.12.15 [debug] Python version 2.7.6 - Linux-3.13.0-40-generic-x86_64-with-Ubuntu-14.04-trusty [debug] exe versions: avconv 9.16-6, avprobe 9.16-6 [debug] Proxy map: {} [8tracks] new-american-roots-vol-i: Downloading webpage [8tracks] new-american-roots-vol-i: Downloading song information 1/12 [8tracks] new-american-roots-vol-i: Downloading song information 2/12 [8tracks] new-american-roots-vol-i: Downloading song information 3/12 [8tracks] new-american-roots-vol-i: Downloading song information 4/12 [8tracks] new-american-roots-vol-i: Downloading song information 5/12 ERROR: Failed to download song information: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 276, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1370, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python2.7/urllib2.py", line 448, in error return self._call_chain(*args) File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) ```
Author
Owner

@bubbleguuum commented on GitHub (Nov 3, 2015):

Ok, thanks for the explanation. So if you need it non blocking, 8tracks is incompatible with -J, unless there would be a parameter to have it stop to the first 5 items and return immediately.

@bubbleguuum commented on GitHub (Nov 3, 2015): Ok, thanks for the explanation. So if you need it non blocking, 8tracks is incompatible with -J, unless there would be a parameter to have it stop to the first 5 items and return immediately.
Author
Owner

@yan12125 commented on GitHub (Nov 3, 2015):

Just to clarify: -J does not change the work flow. The flag just supresses irrelevant outputs.

The feature "stop to the first 5 items and return immediately" is different from the original one. If it's exactly what you want, open a new issue.

@yan12125 commented on GitHub (Nov 3, 2015): Just to clarify: `-J` does not change the work flow. The flag just supresses irrelevant outputs. The feature "stop to the first 5 items and return immediately" is different from the original one. If it's exactly what you want, open a new issue.
Author
Owner

@bubbleguuum commented on GitHub (Nov 3, 2015):

Done as #7350

@bubbleguuum commented on GitHub (Nov 3, 2015): Done as #7350
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#1839
No description provided.