Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
DRTV new/changed timestamp format not detected #4059
Comments
|
this is youtube-dl version 2014.10.27-gentoo_no_offensive_sites |
|
Thank you for the report. This has been fixed in youtube-dl 2014.10.30. See our FAQ on how to update. |
|
awesome - thank you very much. Den 30-10-2014 15:51, Philipp Hagemeister skrev:
|
bangert@gaston ~/data/video/true-detective $ youtube-dl http://www.dr.dk/tv/se/true-detective/true-detective-2-4
[DRTV] true-detective-2-4: Downloading video JSON
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 6, in
youtube_dl.main()
File "/usr/lib64/python2.7/site-packages/youtube_dl/init.py", line 352, in main
_real_main(argv)
File "/usr/lib64/python2.7/site-packages/youtube_dl/init.py", line 342, in _real_main
retcode = ydl.download(all_urls)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1078, in download
res = self.extract_info(url)
File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 529, in extract_info
ie_result = ie.extract(url)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 197, in extract
return self._real_extract(url)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/drtv.py", line 38, in _real_extract
timestamp = parse_iso8601(data['CreatedTime'][:-5])
File "/usr/lib64/python2.7/site-packages/youtube_dl/utils.py", line 942, in parse_iso8601
dt = datetime.datetime.strptime(date_str, date_format) - timezone
File "/usr/lib64/python2.7/_strptime.py", line 325, in _strptime
(data_string, format))
ValueError: time data '2014-10-17T23:3' does not match format '%Y-%m-%dT%H:%M:%S'
this does not affect all streams, as http://www.dr.dk/tv/se/boern/ramasjang/skaeg-med-matematik/skaeg-med-matematik-6 works fine.
Thanks!