Commit Graph

32 Commits (master)

Author SHA1 Message Date
Sergey M․ 197224b7a4
Fix some regexes 7 years ago
Tithen-Firion 76c1951036 [appletrailers] update test cases 7 years ago
Remita Amine fee70322d7 [appletrailers] correct thumbnail fallback 8 years ago
Remita Amine 494172d2e5 [appletrailers] extract info from an alternative source if available(closes #8422)(closes #8422) 8 years ago
Yen Chi Hsuan 958759f44b [appletrailers] Extend _VALID_URL (#8524) 8 years ago
remitamine 261b4c23c7 [appletrailers] skip clips with empty url 8 years ago
Jaime Marquínez Ferrándiz 7fe37d8a05 [appletrailers] Improve regex for fixing '<img>' tags (#7953) 8 years ago
remitamine 60427f63d1 [appletrailers] Add support for AppleTrailers Section 8 years ago
Sergey M․ e759a00119 [appletrailers] Quotes consistency 9 years ago
Sergey M․ 35b7982303 [appletrailers] Add test (#5027) 9 years ago
Sergey M․ f311cfa231 [appletrailers] Extend _VALID_URL (Closes #5027) 9 years ago
Philipp Hagemeister 11e611a7fa Extend various playlist tests 9 years ago
codesparkle 5468ff4d91 Remove duplicate dictionary keys 9 years ago
Jaime Marquínez Ferrándiz e1554a407d [extractors] Use http_headers for setting the User-Agent and the Referer 9 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
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 10 years ago
Jaime Marquínez Ferrándiz 28acf5500a [appletrailers] Modernize 10 years ago
Philipp Hagemeister 3798eadccd More unicode literals 10 years ago
Philipp Hagemeister 7b8af56340 [appletrailers] Use centralized format selection 10 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