projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ad6c6
)
[generic] make twitter:player extraction non fatal
author
Remita Amine
<remitamine@gmail.com>
Thu, 30 Jun 2016 13:11:55 +0000
(14:11 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Thu, 30 Jun 2016 13:11:55 +0000
(14:11 +0100)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index c2a7f92025c88e69f405817ebb24836832767930..9315b9e21ff11ccaf6717638502ba0b303e966ac 100644
(file)
--- a/
youtube_dl/extractor/generic.py
+++ b/
youtube_dl/extractor/generic.py
@@
-2098,7
+2098,7
@@
class GenericIE(InfoExtractor):
}
# https://dev.twitter.com/cards/types/player#On_twitter.com_via_desktop_browser
- embed_url = self._
twitter_search_player(webpag
e)
+ embed_url = self._
html_search_meta('twitter:player', webpage, default=Non
e)
if embed_url:
return self.url_result(embed_url)