Commit Graph

10 Commits (24eb7c257807aceef713f6d01824cf600a9d6232)

Author SHA1 Message Date
Yen Chi Hsuan ec85ded83c
Fix "invalid escape sequences" error on Python 3.6 8 years ago
Yen Chi Hsuan 0c75abbb7b [mtvservices:embedded] Use another endpoint to get feed URL
Closes #10363

In the original mtvservices:embedded test case, config.xml is still used
to get the feed URL. Some other examples, including test_Generic_40
(http://www.vulture.com/2016/06/new-key-peele-sketches-released.html),
and the video mentioned in #10363, use another endpoint to get the feed
URL. The 'index.html' approach works for the original test case, too. So
I didn't keep the old approach.
8 years ago
Yen Chi Hsuan c878e635de
[bet] Moved to MTVServices 9 years ago
Sergey M․ 19dbaeece3 Remove _sort_formats from _extract_*_formats methods
Now _sort_formats should be called explicitly.
_sort_formats has been added to all the necessary places in code.

Closes #8051
9 years ago
Sergey M․ b94b78971c [bet] Use compat_urllib_parse_unquote 10 years ago
blissland 249962ffa2 [bet] Use unique part of xml url as the video id and fix tests (closes #5642)
The guid changes often.
10 years ago
Philipp Hagemeister 811cacdc2c [bet] Correct test IDs 10 years ago
Sergey M․ 46d32a12c9 [bet] Update test 10 years ago
Philipp Hagemeister 1cc79574fc Fix imports and general cleanup
· Import from compat what comes from compat. Yes, some names are available in utils too, but that's an implementation detail.
· Use _match_id consistently whenever possible
· Fix some outdated tests
· Use consistent valid URL (always match the whole protocol, no ^ at start required)
· Use modern test definitions
10 years ago
Sergey M․ b89a938687 [bet] Add extractor (Closes #4416) 10 years ago