Commit Graph

23 Commits (43181707799fe89b477759a6a20ce0bb6a1e5d82)

Author SHA1 Message Date
Remita Amine a1c88c4819 [infoq] fix format extraction(closes #25984) 4 years ago
Sergey M․ 3089bc748c
Fix W504 and disable W503 (closes #20863) 6 years ago
Sergey M․ cf2820710d
Switch codebase to use compat_b64decode 7 years ago
Remita Amine e650659b94 [infoq] fix http format downloading 7 years ago
Sergey M․ 197224b7a4
Fix some regexes 7 years ago
Sergey M․ 74da856544
[infoq] Make audio format extraction non fatal (closes #12938) 8 years ago
Mattias Wadman 45024183ae [infoq] Add audio only format if available (#11565)
* [infoq] Add audio only format if available

Refactor cookie code into a function.
Renamed formats to http_video, http_audio, rtmp_video
Renamed extract functions to video instead of videos as they return
one or no video.

* [infoq] Rename to _extract_cookies as it more than one

* [infoq] Remove redundant determine_ext

* [infoq] Add comment about hardcoded URL

* [infoq] Use _hidden_inputs instead of messy regex

* [infoq] Probe if audio URL is valid

Make it possible to pass headers to _is_valid_url

* [infoq] Add audio only test
8 years ago
Yen Chi Hsuan 5633b4d39d [infoq] Use BokeCC extractor function 9 years ago
Yen Chi Hsuan 02a63fadc3 [infoq] Refactor and support the Chinese version
Closes #7576
9 years ago
Yen Chi Hsuan 22d07ba4e4 [infoq] Fix extraction for HTTP URLs (closes #7739) 9 years ago
Sergey M․ 8ee4ecb48d [infoq] Use compat_urllib_parse_unquote 9 years ago
Yen Chi Hsuan 91b21b2334 [infoq] Fix extraction (closes #6141) 10 years ago
Sergey M․ 533f67d3fa [infoq] Relax _VALID_URL (Closes #6071) 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
Philipp Hagemeister edec83a025 [infoq] Add support for HTTP downloads (Fixes #722) 11 years ago
Philipp Hagemeister c0a7c60815 [infoq] Simplify (#2777) 11 years ago
Kai Weber 7560096db5 [infoq] Simplify playpath calculation 11 years ago
Kai Weber 282cb9c7ba [infoq] Fix extractor 11 years ago
Philipp Hagemeister d55433bbfd Remove unused imports and simplify 11 years ago
Jaime Marquínez Ferrándiz d882161d5a [infoq] Simplify and use unicode_literals 11 years ago
Philipp Hagemeister ddbd903576 Tests: Add coding to files 12 years ago
Philipp Hagemeister 9d069c4778 [infoq] move tests 12 years ago
Philipp Hagemeister fda7d31aa0 Move infoq into its own file 12 years ago