Commit Graph

18 Commits (5e4166478de0a8a7ddafd013919acd08b4211910)

Author SHA1 Message Date
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
Philipp Hagemeister e91cdcae1a [appletrailers] Modernize 10 years ago
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules 10 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Philipp Hagemeister 9572013de9 [appletrailers] Support height-less videos 10 years ago
Philipp Hagemeister acd213ed6d Remove unusued imports 11 years ago
Jaime Marquínez Ferrándiz 28acf5500a [appletrailers] Modernize 11 years ago
Philipp Hagemeister 3798eadccd More unicode literals 11 years ago
Philipp Hagemeister 7b8af56340 [appletrailers] Use centralized format selection 11 years ago
Jaime Marquínez Ferrándiz 1825836235 Use `_download_xml` in more extractors 11 years ago
Philipp Hagemeister 29030c0a4c Merge remote-tracking branch 'dstftw/correct-valid-urls' 11 years ago
dst c0ade33e16 Correct some extractor _VALID_URL regexes 11 years ago
Jaime Marquínez Ferrándiz fb7abb31af Remove the compatibility code used before the new format system was implemented 11 years ago
Jaime Marquínez Ferrándiz bb4aa62cf7 [appletrailers] The request for the settings must have the trailer name in lower case (fixes #1329) 11 years ago
Jaime Marquínez Ferrándiz 843530568f [appletrailers] Rework extraction (fixes #1387)
The exraction was broken:
* The includes page contains img elements that need to be fixed.
* Use the 'itunes.inc' page, it contains a json dictionary for each trailer with information.
* Get the formats from 'includes/settings{trailer_name}.json'
* Use urljoin to allow urls with a fragment identifier to work

Removed the thumbnail urls from the tests, they are different now.
11 years ago
Philipp Hagemeister ce6a696e4d Remove unused imports 11 years ago
Philipp Hagemeister 2eabb80254 [addanime] improve 11 years ago
Philipp Hagemeister 44586389e4 [appletrailers] Add support 11 years ago