[videolectures] (New extractor)

This commit is contained in:
Philipp Hagemeister 2014-03-21 14:38:37 +01:00
parent 23f4a93bb4
commit 64e7ad6045
3 changed files with 72 additions and 0 deletions

View file

@ -763,6 +763,10 @@ class YoutubeDLHandler(compat_urllib_request.HTTPHandler):
def unified_strdate(date_str):
"""Return a string with the date in the format YYYYMMDD"""
if date_str is None:
return None
upload_date = None
#Replace commas
date_str = date_str.replace(',', ' ')