projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f322bfb
)
[twitter] Inherit from InfoExtractor directly
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 18 Oct 2015 09:16:57 +0000
(17:16 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 18 Oct 2015 09:16:57 +0000
(17:16 +0800)
youtube_dl/extractor/twitter.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twitter.py
b/youtube_dl/extractor/twitter.py
index 48bef5d80eeae7efa4bbb913b28b554afdcbb935..c9b7837451371def2e42aadbcc446ad784fa0d0e 100644
(file)
--- a/
youtube_dl/extractor/twitter.py
+++ b/
youtube_dl/extractor/twitter.py
@@
-97,11
+97,11
@@
class TwitterCardIE(InfoExtractor):
}
-class TwitterIE(
TwitterCardIE
):
+class TwitterIE(
InfoExtractor
):
IE_NAME = 'twitter'
_VALID_URL = r'https?://(?:www|m|mobile)?\.?twitter\.com/(?P<id>[^/]+/status/\d+)'
- _TEST
S = [
{
+ _TEST
=
{
'url': 'https://twitter.com/freethenipple/status/643211948184596480',
'md5': '31cd83a116fc41f99ae3d909d4caf6a0',
'info_dict': {
@@
-114,7
+114,7
@@
class TwitterIE(TwitterCardIE):
'uploader': 'FREE THE NIPPLE',
'uploader_id': 'freethenipple',
},
- }
]
+ }
def _real_extract(self, url):
id = self._match_id(url)