mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
Update funnyordie.py
This commit is contained in:
parent
614a7e1e23
commit
1593194c63
|
@ -65,8 +65,7 @@ class FunnyOrDieIE(InfoExtractor):
|
||||||
if not sublang in subtitles.keys():
|
if not sublang in subtitles.keys():
|
||||||
subtitles[sublang]=[]
|
subtitles[sublang]=[]
|
||||||
subext=suburl.split('/')[-1]
|
subext=suburl.split('/')[-1]
|
||||||
print subext
|
subtitles[sublang].append({'url': 'http://www.funnyordie.com'+suburl,'ext': subext})
|
||||||
subtitles[sublang].append({'url': suburl,'ext': subext})
|
|
||||||
|
|
||||||
post_json = self._search_regex(
|
post_json = self._search_regex(
|
||||||
r'fb_post\s*=\s*(\{.*?\});', webpage, 'post details')
|
r'fb_post\s*=\s*(\{.*?\});', webpage, 'post details')
|
||||||
|
|
Loading…
Reference in a new issue