projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ca2a3c
)
[ae] Use JSON-LD for TV series metadata
author
Sergey M․
<dstftw@gmail.com>
Fri, 15 Jan 2016 18:36:49 +0000
(
00:36
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 15 Jan 2016 18:36:49 +0000
(
00:36
+0600)
youtube_dl/extractor/ae.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ae.py
b/youtube_dl/extractor/ae.py
index a3b9f1ca4fede596773180c4f3c13f9b97f35acd..3bc7c12fc63384d6d1fddbfbbddd458f1cc803a5 100644
(file)
--- a/
youtube_dl/extractor/ae.py
+++ b/
youtube_dl/extractor/ae.py
@@
-55,4
+55,9
@@
class AEIE(InfoExtractor):
]
video_url = self._search_regex(video_url_re, webpage, 'video url')
- return self.url_result(smuggle_url(video_url, {'sig': {'key': 'crazyjava', 'secret': 's3cr3t'}}))
+ info = self._search_json_ld(webpage, video_id, fatal=False)
+ info.update({
+ '_type': 'url_transparent',
+ 'url': smuggle_url(video_url, {'sig': {'key': 'crazyjava', 'secret': 's3cr3t'}}),
+ })
+ return info