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

podomatic support is partially broken #2763

Closed
GijsTimmers opened this issue Apr 17, 2014 · 3 comments
Closed

podomatic support is partially broken #2763

GijsTimmers opened this issue Apr 17, 2014 · 3 comments
Assignees

Comments

@GijsTimmers
Copy link

@GijsTimmers GijsTimmers commented Apr 17, 2014

I tried to download a track from the channel ostbahnhof.podomatic.com, but youtube-dl fails to do so:

[user@ubuntu /tmp]$ youtube-dl --verbose http://ostbahnhof.podomatic.com/entry/2013-11-15T16_31_21-08_00
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://ostbahnhof.podomatic.com/entry/2013-11-15T16_31_21-08_00']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.04.13
[debug] Python version 2.7.5+ - Linux-3.11.0-19-generic-i686-with-Ubuntu-13.10-saucy
[debug] Proxy map: {}
[podomatic] 2013-11-15T16_31_21-08_00: Downloading video info
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 6, in <module>
    youtube_dl.main()
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 845, in main
    _real_main(argv)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 835, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1036, in download
    self.extract_info(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 525, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 562, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 817, in process_video_result
    self.process_info(new_info)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1007, in process_info
    success = dl(filename, info_dict)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 983, in dl
    return fd.download(name, info)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 291, in download
    return self.real_download(filename, info_dict)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 54, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 396, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 258, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: 
[user@ubuntu /tmp]$

This is strange, as podomatic support does seem to work with one of the more popular podcasts, for instance martinlodge.podomatic.com:

[user@ubuntu /tmp]$ youtube-dl --verbose http://martinlodge.podomatic.com/entry/2014-04-15T10_48_20-07_00
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://martinlodge.podomatic.com/entry/2014-04-15T10_48_20-07_00']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.04.13
[debug] Python version 2.7.5+ - Linux-3.11.0-19-generic-i686-with-Ubuntu-13.10-saucy
[debug] Proxy map: {}
[podomatic] 2014-04-15T10_48_20-07_00: Downloading video info
[download] Destination: Martin Lodge Mi Soul Radio Show 14th April 2014-2014-04-15T10_48_20-07_00.mp3
[download] 100% of 149.33MiB in 01:40
[user@ubuntu /tmp]$ 

A fix for this problem would be greatly appreciated. Thank you.

@dstftw dstftw self-assigned this Apr 17, 2014
@dstftw dstftw closed this in e6c6d10 Apr 17, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 17, 2014

Thanks for the report, fixed. This will be available in the next version of youtube-dl.

@GijsTimmers
Copy link
Author

@GijsTimmers GijsTimmers commented Apr 17, 2014

Thank you.

@phihag
Copy link
Contributor

@phihag phihag commented Apr 21, 2014

The fix has been integrated into youtube-dl 2014.04.19 and newer. It looks like you have installed youtube-dl with a package manager or pip, so use that to update.

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.