]> git.bitcoin.ninja Git - youtube-dl/commit
[twitter] Don't check /cards/ URLs
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 16 Apr 2016 10:57:50 +0000 (18:57 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 16 Apr 2016 10:57:50 +0000 (18:57 +0800)
commit36b7d9dbfaf43c357034e8b8792cdd5fb1363fb9
tree3d6e02617bff9bb095d48206dc2eb4fe01faa753
parent8c65e4a52707413607f5f70725ed71053dd257f1
[twitter] Don't check /cards/ URLs

Fixes #9181

In this tweet, there are two cards:
1. https://twitter.com/i/cards/tfw/v1/719944006306701313
   This shows #TeamCap vs. #TeamIronMan
2. https://twitter.com/i/videos/tweet/719944021058060289
   This is the real video and can be handled by TwitterCardIE

In all current test_Twitter* tests, /videos/tweet/ approach works fine.
youtube_dl/extractor/twitter.py