mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 22:27:23 +08:00
[Gaskrank] Add new extractor - requested fixes.
This commit is contained in:
parent
7c79b05078
commit
fb71f438cd
@ -57,6 +57,7 @@ class GaskrankIE(InfoExtractor):
|
||||
thumbnail = self._search_regex(r'poster\s*:\s*\'([^\']*)\'', webpage, 'thumbnail', default=None)
|
||||
|
||||
mobj = re.search(r'Video von:\s*(?P<uploader_id>[^|]*?)\s*\|\s*vom:\s*(?P<upload_date_day>[0-9][0-9]).(?P<upload_date_month>[0-9][0-9]).(?P<upload_date_year>[0-9][0-9][0-9][0-9])', webpage)
|
||||
if mobj is not None:
|
||||
uploader_id = mobj.groupdict().get('uploader_id')
|
||||
upload_date = mobj.groupdict().get('upload_date_year') + mobj.groupdict().get('upload_date_month') + mobj.groupdict().get('upload_date_day')
|
||||
if len(upload_date) != 8:
|
||||
|
Loading…
x
Reference in New Issue
Block a user