Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[soundcloud] ERROR: unable to download video data: HTTP Error 404: Not Found. Second #1798

Closed
ghost opened this issue Nov 20, 2013 · 12 comments
Closed

Comments

@ghost
Copy link

@ghost ghost commented Nov 20, 2013

actual v2013.11.20. one month ago everything was ok. i get following message:

youtube-dl -t https://soundcloud.xyz
[soundcloud] xyz: Resolving ID
[soundcloud] xyz: Downloading info JSON
[soundcloud] xyz: Extracting information
ERROR:unable to download video data: HTTP Error 404: Not found

@phihag
Copy link
Contributor

@phihag phihag commented Nov 20, 2013

Thank you for the report, but I presume you've changed the output. Please post the entire output of youtube-dl when called with the -v flag, and do not edit it. Since https://soundcloud.xyz/ is not a reserved domain, an error message is indeed the correct result here. By the way, -t is a legacy option; you do not need it.

I'm closing this issue now (since there is no possible way you could get anything other than an error for the URL https://soundcloud.xyz/), but feel free to post the entire output unedited (don't forget to pass in the -v flag), and then we'll reopen this issue.

@phihag phihag closed this Nov 20, 2013
@ghost
Copy link
Author

@ghost ghost commented Nov 20, 2013

thats all i got. https://soundcloud.xyz is only a replacement. its exactly the same error like in this case: #1748

quote:" youtube-dl https://soundcloud.com/interscope/imagine-dragons-on-top-of-the
[soundcloud] interscope/imagine-dragons-on-top-of-the: Resolving id
[soundcloud] interscope/imagine-dragons-on-top-of-the: Downloading info JSON
[soundcloud] interscope/imagine-dragons-on-top-of-the: Extracting information
ERROR: unable to download video data: HTTP Error 404: Not Found"

@ghost
Copy link
Author

@ghost ghost commented Nov 20, 2013

ERROR: RTMP download detected but "rtmpdump" could not be run
Traceback (most recent call last):
File "youtube_dl\FileDownloader.pyo", line 279, in _download_with_rtmpdump
File "subprocess.pyo", line 524, in call
File "subprocess.pyo", line 711, in init
File "subprocess.pyo", line 948, in _execute_child
Windows Error: [Error 2] System cant find the data

@phihag
Copy link
Contributor

@phihag phihag commented Nov 20, 2013

Can you please post the entire output of youtube-dl when called with -v? That output helps us to find out what the actual problem is. Otherwise, we cannot diagnose the problem. For what it's worth, this download works fine for me.

@ghost
Copy link
Author

@ghost ghost commented Nov 20, 2013

ok,i got it. problem solved

@phihag
Copy link
Contributor

@phihag phihag commented Nov 20, 2013

Ah, that clears it up somewhat. That particular audio file is not available via HTTP, but only RTMP. You need rtmpdump. Just place the rtmpdump.exe file in the same directory as youtube-dl.

@ghost
Copy link
Author

@ghost ghost commented Nov 20, 2013

ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 750, in process_info
File "youtube_dl\FileDownloader.pyo", line 469, in _do_download
File "urllib2.pyo", line 127, in urlopen
File "urllib2.pyo", line 410, in open
File "urllib2.pyo", line 523, in http_response
File "urllib2.pyo", line 448, in error
File "urllib2.pyo", line 382, in _call_chain
File "urllib2.pyo", line 531, in http_error_default
HTTPError: HTTP Error 404: Not Found

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 20, 2013

@schezre2 Post the full output of running youtube-dl THE_URL --verbose, otherwise we can't do anything.

@phihag
Copy link
Contributor

@phihag phihag commented Nov 20, 2013

@schezre2 Just for reference, the first line of the full output should start with [debug] System config:.

@andrewfree
Copy link

@andrewfree andrewfree commented Nov 21, 2013

I am getting a similar error.
youtube-dl -v https://soundcloud.com/eric-prydz/pryda-lycka
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://soundcloud.com/eric-prydz/pryda-lycka']
[debug] youtube-dl version 2013.11.20
[debug] Python version 2.7.6 - Darwin-13.0.0-x86_64-i386-64bit
[debug] Proxy map: {}
[soundcloud] eric-prydz/pryda-lycka: Resolving id
[soundcloud] eric-prydz/pryda-lycka: Downloading info JSON
[soundcloud] eric-prydz/pryda-lycka: Extracting information
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/opt/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 750, in process_info
success = self.fd._do_download(filename, info_dict)
File "/opt/local/bin/youtube-dl/youtube_dl/FileDownloader.py", line 469, in _do_download
data = compat_urllib_request.urlopen(request)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/opt/local/Library/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)
HTTPError: HTTP Error 404: Not Found

And on ubuntu, right after being installed.

rever@li161-52:~$ youtube-dl -v https://soundcloud.com/eric-prydz/pryda-lycka
[debug] Proxy map: {}
[soundcloud] eric-prydz/pryda-lycka: Downloading webpage
[soundcloud] eric-prydz/pryda-lycka: Extracting information
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 4645, in
main()
File "/usr/bin/youtube-dl", line 4636, in main
_real_main()
File "/usr/bin/youtube-dl", line 4620, in _real_main
retcode = fd.download(all_urls)
File "/usr/bin/youtube-dl", line 869, in download
ie.extract(url)
File "/usr/bin/youtube-dl", line 1135, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl", line 3559, in _real_extract
mediaURL = mediaURL % (video_id, stream_token)
UnboundLocalError: local variable 'video_id' referenced before assignment

@jaimeMF jaimeMF reopened this Nov 21, 2013
@jaimeMF jaimeMF closed this in 64bb518 Nov 21, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 21, 2013

It should be fixed now, we now retrieve the url as the iPhone version does.
@andrewfree thanks for the report. About the error in ubuntu, the version seems to be really outdated (it doesn't even report the version), you'll have to ask the package maintainer to update it, the UnboundLocalError error was actually fixed some time ago.

@phihag
Copy link
Contributor

@phihag phihag commented Nov 21, 2013

@andrewfree This bug has been fixed as of youtube-dl 2013.11.21. Type sudo youtube-dl -U to update.

@ghost
Copy link
Author

@ghost ghost commented Nov 21, 2013

thanks you genius phi,jaime and andrew for helping completing me. exactly that was the problem, thanks for solving it.bl

@ghost
Copy link
Author

@ghost ghost commented Nov 25, 2013

next:
[soundcloud] 117025395: Downloading track url
[download] Destination: 17025395.mp3
Traceback (most recent call last):
File "main.py", line 18, in
File "youtube_dl__init__.pyo", line 691, in main
File "youtube_dl__init__.pyo", line 681, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 807, in download
File "youtube_dl\YoutubeDL.pyo", line 447, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 472, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 636, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 780, in process_info
File "youtube_dl\FileDownloader.pyo", line 466, in _do_download
File "youtube_dl\FileDownloader.pyo", line 350, in _download_with_rtmpdump
File "youtube_dl\FileDownloader.pyo", line 263, in run_rtmpdump
File "subprocess.pyo", line 711, in init
File "subprocess.pyo", line 948, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb4' in position 92:
ordinal not in range(128)

@phihag
Copy link
Contributor

@phihag phihag commented Nov 25, 2013

@schezre It becomes rather hard to track issues if we're discussing multiple different problems in a single issue thread. Can you open a new issue for that?

Please include the complete output of youtube-dl when called with -v. Just copy and paste it, or redirect the output to a file and upload that file somewhere. Without the full information it's extremely hard for us to fix an issue. You can see proof of that in this very issue: Initially, we could not help you, but as soon as @andrewfree posted a complete output, a fix could be released within hours.

@ghost
Copy link
Author

@ghost ghost commented Nov 25, 2013

of course. occured multiple,for example:
C:\youtube-dl>youtube-dl -v https://soundcloud.com/krismenace/letsplay
?in=krismenace/sets/loveonlaserdisc
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://soundcloud.com/krismenace/letsplay?in
=krismenace/sets/loveonlaserdisc']
[debug] youtube-dl version 2013.11.25.2
[debug] Python version 2.7.5
[debug] Proxy map: {}
[soundcloud] krismenace/letsplay: Resolving id
[soundcloud] krismenace/letsplay: Downloading info JSON
[soundcloud] krismenace/letsplay: Extracting information
[soundcloud] 117025395: Downloading track url
[download] Destination: 2. Love On Laserdisc - Let┤s Play-117025395.mp3
[debug] rtmpdump command line: rtmpdump --verbose -r rtmp://ec-rtmp-media.soundc
loud.com:80/ -o '2. Love On Laserdisc - Let┤s Play-117025395.mp3.part' --playpat
h 'mp3:HmbfuUvB6HkA.128?9527d18f1063a01f059bf10590159adb10dea0996b8c0cdb6748972d
201c8097b4598b8b6189f58168e75a093ddf914abae2a0f93ede7f1d1a2709972b57247370d22396
df6e5e525ff090abe184733a010c6d825dd7313b4e58' --resume --skip 1
Traceback (most recent call last):
File "main.py", line 18, in
File "youtube_dl__init__.pyo", line 691, in main
File "youtube_dl__init__.pyo", line 681, in _real_main
File "youtube_dl\YoutubeDL.pyo", line 807, in download
File "youtube_dl\YoutubeDL.pyo", line 447, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 472, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 636, in process_video_result
File "youtube_dl\YoutubeDL.pyo", line 780, in process_info
File "youtube_dl\FileDownloader.pyo", line 466, in _do_download
File "youtube_dl\FileDownloader.pyo", line 350, in _download_with_rtmpdump
File "youtube_dl\FileDownloader.pyo", line 263, in run_rtmpdump
File "subprocess.pyo", line 711, in init
File "subprocess.pyo", line 948, in _execute_child
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb4' in position 92:
ordinal not in range(128)

@phihag phihag reopened this Nov 25, 2013
phihag added a commit that referenced this issue Nov 25, 2013
@phihag
Copy link
Contributor

@phihag phihag commented Nov 25, 2013

As of youtube-dl 2013.11.25.3, soundcloud downloads will be over HTTP by default. I have also fixed the rtmpdump error.

@phihag phihag closed this Nov 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.