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

Photobucket IE extracts incorrect download URL, leading to 404 error #2932

Closed
ocisly opened this issue May 16, 2014 · 2 comments
Closed

Photobucket IE extracts incorrect download URL, leading to 404 error #2932

ocisly opened this issue May 16, 2014 · 2 comments

Comments

@ocisly
Copy link
Contributor

@ocisly ocisly commented May 16, 2014

youtube-dl --verbose "http://media.photobucket.com/user/rachaneronas/media/TiredofLinkBuildingTryBacklinkMyDomaincom_zpsc0c3b9fa.mp4.html?filters[term]=search&filters[primary]=videos&filters[secondary]=images&sort=1&o=0"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://media.photobucket.com/user/rachaneronas/media/TiredofLinkBuildingTryBacklinkMyDomaincom_zpsc0c3b9fa.mp4.html?filters[term]=search']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.05.16.1
[debug] Python version 3.4.0 - Windows-8-6.2.9200
[debug] Proxy map: {}
[Photobucket] zpsc0c3b9fa: Downloading webpage
[Photobucket] zpsc0c3b9fa: Extracting information
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "C:\Python34\lib\site-packages\youtube_dl\YoutubeDL.py", line 1009, in process_info
    success = dl(filename, info_dict)
  File "C:\Python34\lib\site-packages\youtube_dl\YoutubeDL.py", line 985, in dl
    return fd.download(name, info)
  File "C:\Python34\lib\site-packages\youtube_dl\downloader\common.py", line 291, in download
    return self.real_download(filename, info_dict)
  File "C:\Python34\lib\site-packages\youtube_dl\downloader\http.py", line 58, in real_download
    data = self.ydl.urlopen(request)
  File "C:\Python34\lib\site-packages\youtube_dl\YoutubeDL.py", line 1214, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "C:\Python34\lib\urllib\request.py", line 461, in open
    response = meth(req, response)
  File "C:\Python34\lib\urllib\request.py", line 574, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python34\lib\urllib\request.py", line 493, in error
    result = self._call_chain(*args)
  File "C:\Python34\lib\urllib\request.py", line 433, in _call_chain
    result = func(*args)
  File "C:\Python34\lib\urllib\request.py", line 679, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "C:\Python34\lib\urllib\request.py", line 461, in open
    response = meth(req, response)
  File "C:\Python34\lib\urllib\request.py", line 574, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python34\lib\urllib\request.py", line 499, in error
    return self._call_chain(*args)
  File "C:\Python34\lib\urllib\request.py", line 433, in _call_chain
    result = func(*args)
  File "C:\Python34\lib\urllib\request.py", line 582, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

'filters[primary]' is not recognized as an internal or external command,
operable program or batch file.
'filters[secondary]' is not recognized as an internal or external command,
operable program or batch file.
=1The system cannot find the file specified.
'o' is not recognized as an internal or external command,
operable program or batch file.
@ocisly
Copy link
Contributor Author

@ocisly ocisly commented May 16, 2014

Pull request that solves this: #2934

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 16, 2014

Thanks for the report and the fix!

By the way, if the url contains special shell characters (like &), you have to enclose it with quotes: youtube-dl --verbose "http://media.photobucket.com/user/rachaneronas/media/TiredofLinkBuildingTryBacklinkMyDomaincom_zpsc0c3b9fa.mp4.html?filters[term]=search&filters[primary]=videos&filters[secondary]=images&sort=1&o=0".

@jaimeMF jaimeMF closed this May 16, 2014
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
2 participants
You can’t perform that action at this time.