Commit Graph

20 Commits (94a530c6cb65d555d8e3289de155c2f8f9326dea)

Author SHA1 Message Date
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 10 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