aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/generic.py
Commit message (Collapse)AuthorAgeFilesLines
* [extractor/rumble] Add HLS formats and extract more metadata (#5280)MMM2022-11-091-34/+0
| | | | Closes #5177, #5277 Authored by: flashdagger
* [extractor] Improve `_generic_title`pukkandan2022-10-311-2/+1
|
* [cleanup Miscpukkandan2022-10-181-5/+3
| | | | Closes #5162
* [extractor/generic:quoted-html] Add extractor (#5213)Matthew2022-10-141-22/+0
| | | | | | | Extracts embeds from escaped HTML within `data-html` attribute. Related: https://github.com/ytdl-org/youtube-dl/issues/21294, https://github.com/yt-dlp/yt-dlp/pull/5121 Authored by: coletdjnz Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
* [extractor/generic] Separate embed extraction into own function (#5176)pukkandan2022-10-091-59/+45
|
* [extractor/common] Fix `json_ld` type checks (#5145)Simon Sawicki2022-10-091-0/+15
| | | | Closes #5144, #5143 Authored by: Grub4K
* [extractor/JWPlatform] Fix extractor (#5112)coletdjnz2022-10-031-12/+0
| | | | | | | Fix bitrate and filesize extraction and support embeds with unquoted urls. Related: #5106 Authored by: coletdjnz
* [extractor] Improve json+ld extractionpukkandan2022-09-271-1/+1
| | | | Related #5035
* [extractor/wistia] Add support for channels (#4819)coletdjnz2022-09-231-30/+0
| | | | | | Fixes https://github.com/yt-dlp/yt-dlp/issues/4748 Related: https://github.com/yt-dlp/yt-dlp/issues/4985 Authored by: coletdjnz
* [extractor/wistia] Match IDs in embed URLs (#4990)bashonly2022-09-221-10/+25
| | | | Closes #4985 Authored by: bashonly
* [docs] Misc improvementspukkandan2022-09-221-2/+2
| | | | Closes #4987, Closes #4906, Closes #4919, Closes #4977, Closes #4979
* [extractor/generic] Pass through referer from json-ldpukkandan2022-09-161-8/+19
| | | | Closes #4941
* [cleanup] Miscpukkandan2022-09-101-1/+1
|
* [extractor/generic] Don't return JW player without formatspukkandan2022-08-271-2/+4
| | | | CLoses #4765
* Fix bug in fe7866d0ed6bfa3904ce12b049a3424fdc0ea1fapukkandan2022-08-241-2/+1
|
* [docs] Consistent use of `e.g.` (#4643)Lesmiscore2022-08-141-1/+1
| | | Authored by: Lesmiscore
* [extractors] Use new framework for existing embeds (#4307)pukkandan2022-08-021-985/+35
| | | | | | | `Brightcove` is difficult to migrate because it's subclasses may depend on the signature of the current functions. So it is left as-is for now Note: Tests have not been migrated
* [extractor/html5] Separate into own extractor (#4307)pukkandan2022-08-021-19/+0
| | | | | | Closes #4291 Authored by: coletdjnz, pukkandan
* [extractor/camtasia] Separate into own extractor (#4307)pukkandan2022-08-021-67/+0
| | | | Authored by: coletdjnz
* [extractor, test] Basic framework for embed tests (#4307)pukkandan2022-08-021-15/+0
| | | | | | and split download tests so they can be more easily run in CI Authored by: coletdjnz
* [extractor] Framework for embed detection (#4307)pukkandan2022-08-021-41/+60
|
* [extractor/generic] Remove HEAD requestpukkandan2022-07-071-40/+18
|
* [cleanup] Misc cleanuppukkandan2022-06-291-17/+15
|
* [cleanup] Fix some typos (#4194)crazymoose777562022-06-261-1/+1
| | | Authored by: crazymoose77756
* [compat] Remove deprecated functions from core codepukkandan2022-06-251-22/+18
|
* [cleanup] Miscpukkandan2022-06-201-0/+1
|
* [extractor/substack] Add extractor (#4011)Elyse2022-06-181-1/+34
| | | | Closes #3722 Authored by: elyse0
* [extractor] Handle `json_ld` with multiple `@type`spukkandan2022-06-131-2/+17
| | | | Closes: #4022
* [extractor/rumble] Detect JS embedpukkandan2022-06-131-0/+35
| | | | Closes #4064
* [extractor/generic] Revert e6ae51c123897927eb3c9899923d8ffd31c7f85dpukkandan2022-06-131-9/+4
| | | | 85553414ae3007fe866b307b3befd3b9d2423679 made it unnecessary
* [extractor/jwplatform] Look for `data-video-jw-id`pukkandan2022-06-121-1/+21
| | | | Closes #3821
* [tiktok] Detect embedspukkandan2022-05-201-0/+6
| | | | Closes #3799
* [utils] `is_html`: Handle double BOMpukkandan2022-05-181-0/+15
| | | | Closes #2885
* [vimeo] Fix extractorspukkandan2022-05-181-1/+1
| | | | | Closes #3037, Closes #2858, Closes #2880, Closes #3712 May also fix #3602, #3360
* [generic] Refactor `_extract_rss`pukkandan2022-05-181-35/+14
| | | | Closes #3738
* [cleanup] Misc cleanuppukkandan2022-05-171-1/+1
|
* [cleanup] Minor fixes (See desc)pukkandan2022-05-091-14/+0
| | | | | | | | | | * [youtube] Fix `--youtube-skip-dash-manifest` * [build] Use `$()` in `Makefile`. Closes #3684 * Fix bug in 385ffb467b2285e85a2a5495b90314ba1f8e0700 * Fix bug in 43d7f5a5d0c77556156a3f8caa6976d3908a1e38 * [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode` * [utils] LazyList: Expose unnecessarily "protected" attributes and other minor cleanup
* [ruutu] Support hs.fi embeds (#3547)Teemu Ikonen2022-05-071-3/+26
| | | Authored by: tpikonen, pukkandan
* [spotify] Detect iframe embeds (#3430)Felix S2022-04-141-0/+6
| | | Authored by: fstirlitz
* [cleanup] Sort importspukkandan2022-04-121-112/+103
| | | | | | Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
* [cleanup] Upgrade syntaxpukkandan2022-04-121-7/+3
| | | | | | | | | | Using https://github.com/asottile/pyupgrade 1. `__future__` imports and `coding: utf-8` were removed 2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format` 3. f-strings were cherry-picked from `pyupgrade --py36-plus` Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
* [cleanup] Mark some compat variables for removal (#2173)pukkandan2022-04-121-3/+3
| | | | Authored by fstirlitz, pukkandan
* [cleanup] Remove unused code paths (#2173)felix2022-04-121-4/+0
| | | | | | | | | | | | | | | | | | | Notes: * `_windows_write_string`: Fixed in 3.6 * https://bugs.python.org/issue1602 * PEP: https://www.python.org/dev/peps/pep-0528 * Windows UTF-8 fix: Fixed in 3.3 * https://bugs.python.org/issue13216 * `__loader__`: is always present in 3.3+ * https://bugs.python.org/issue14646 * `workaround_optparse_bug9161`: Fixed in 2.7 * https://bugs.python.org/issue9161 Authored by: fstirlitz
* [cleanup] Misc fixespukkandan2022-04-051-3/+3
| | | | | | Closes https://github.com/yt-dlp/yt-dlp/pull/3213, Closes https://github.com/yt-dlp/yt-dlp/pull/3117 Related: https://github.com/yt-dlp/yt-dlp/issues/3146#issuecomment-1077323114, https://github.com/yt-dlp/yt-dlp/pull/3277#discussion_r841019671, https://github.com/yt-dlp/yt-dlp/commit/a825ffbffa0bea322e3ccb44c6f8e01d8d9572fb#commitcomment-68538986, https://github.com/yt-dlp/yt-dlp/issues/2360, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393519, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393254
* [ruutu] Detect embeds (#3294)Teemu Ikonen2022-04-051-1/+25
| | | Authored by: tpikonen
* [cleanup] Use `_html_extract_title`pukkandan2022-04-041-4/+2
|
* [generic] Extract subtitles from video.js (#3156)Lesmiscore (Naoya Ozaki)2022-03-221-2/+20
| | | Authored by: Lesmiscore
* [extractor] Add `_perform_login` function (#2943)pukkandan2022-03-181-0/+1
| | | | * Adds new functions `_initialize_pre_login` and `_perform_login` as part of the extractor API * Adds `ie.supports_login` to the public API
* [panopto] Add extractors (#2908)coletdev2022-03-081-0/+13
| | | | | Based on https://github.com/ytdl-org/youtube-dl/pull/13449 Closes #1946 Authored by: coletdjnz, kmark
* [ant1newsgr] Add extractor (#1982)Zenon Mousmoulas2022-03-041-0/+7
| | | Authored by: zmousm