aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/common.py
AgeCommit message (Collapse)Author
2022-06-20[extractor/BiliIntl] Fix metadata extractionpukkandan
Closes #4116
2022-06-18[extractor] Add `default` parameter to `_search_json` (#4057)coletdev
Authored by: pukkandan, coletdjnz
2022-06-18[cleanup, utils] Don't use kwargs for `format_field`pukkandan
2022-06-17[cleanup] Minor fixes (#4096)christoph-heinrich
Authored by: christoph-heinrich
2022-06-14[extractor/GoogleDrive] Add folder extractor (#4009)Evan Spensley
Closes #3388 Authored by: evansp, pukkandan
2022-06-13[extractor] Handle `json_ld` with multiple `@type`spukkandan
Closes: #4022
2022-06-11[cleanup] Misc fixespukkandan
Closes #4027
2022-06-10[extractor/FranceCulture] Fix extractor (#3874)Aurélien Grosdidier
Closes #3742 Authored by: aurelg, pukkandan
2022-06-06[extractor] Add `_search_json`pukkandan
All fetching of JSON objects should eventually be done with this function but only `youtube` is being refactored for now
2022-06-05[extractor/0000studio] Add extractors (#3959)Lesmiscore
Authored by: Lesmiscore
2022-06-03[cleanup] Misc fixespukkandan
Cherry-picks from: #3498, #3947 Related: #3949, https://github.com/yt-dlp/yt-dlp/issues/1839#issuecomment-1140313836 Authored by: pukkandan, flashdagger, gamer191
2022-06-03[extractor] Fix bug in 617f658b7ec1193749848c1b7343acab125dbc46pukkandan
While the function signature don't enforce it, some IEs that override `_download_webpage_handle` assume all optional arguments to be keyword-only Closes #3954
2022-06-02[extractor/npr] Use stream url from json-ld (#3455)siddharth ravikumar
Closes #1934 Authored by: r5d
2022-06-03[extractor] Fix bug in f95b9dee4501eed75e7dba984cd914f7f16e3bf1pukkandan
Closes #3951
2022-06-01[extractor] Add dev option `--load-pages`pukkandan
2022-06-01[extractor, cleanup] Refactor `_download_...` methodspukkandan
2022-05-29[extractor/common] Recognize `src` attribute from HTML5 media elements (#3899)Lesmiscore
Authored by: Lesmiscore
2022-05-29[extractor/youtube] Fix initial player response extractioncoletdjnz
Authored by: pukkandan, coletdjnz
2022-05-27[cleanup] Misc fixes and cleanuppukkandan
Closes #3780, Closes #3853, Closes #3850
2022-05-21[cleanup] Miscpukkandan
2022-05-20[compat] Add `functools.cached_property`pukkandan
2022-05-18[cleanup] Minor fixespukkandan
2022-05-17[cleanup] Misc cleanuppukkandan
2022-05-13[extractor] Use classmethod/property where possiblepukkandan
and refactor lazy extractors accordingly. This reduces the need to create extractor instances
2022-05-11[extractor] Document netrc machinespukkandan
Closes #3169
2022-05-07Remove warning for videos with an empty titlepukkandan
2022-05-01[cleanup] Misc fixes (see desc)pukkandan
* Do not warn when fixup is skipped for existing file * [fragment] Fix `--skip-unavailable-fragments` for HTTP Errors * [utils] write_string: Fix bug in 59f943cd5097e9bdbc3cb3e6b5675e43d369341a * [utils] parse_codecs: Subtitle codec is generally referred to as `scodec`. https://github.com/yt-dlp/yt-dlp/pull/2174#discussion_r790156048 * [docs] Remove note about permissions. Closes #3597
2022-04-29[cleanup] Misc fixespukkandan
Closes #3565, https://github.com/yt-dlp/yt-dlp/issues/3514#issuecomment-1105944364
2022-04-28Improve `--clean-infojson`pukkandan
It should not removes fields that may be needed for `--load-infojson`. Eg: `_ffmpeg_args`, `_has_drm`
2022-04-27[extractor] Update `manifest_url`s after redirect (#3575)Elyse
Authored by: elyse0
2022-04-27[extractor] Update dash `manifest_url` after redirects (#3563)Elyse
Closes #2696 Authored by: elyse0
2022-04-18[compat] Split into sub-modules (#2173)felix
Authored by: fstirlitz, pukkandan
2022-04-12[cleanup] Sort importspukkandan
Using https://github.com/PyCQA/isort isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12[cleanup] Upgrade syntaxpukkandan
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
2022-04-12[cleanup] Mark some compat variables for removal (#2173)pukkandan
Authored by fstirlitz, pukkandan
2022-04-12[cleanup] Remove unused code paths (#2173)felix
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
2022-04-07[youtube] Fix uploader for collaborative playlists (#3332)coletdev
Authored by: coletdjnz
2022-04-05[cleanup] Misc fixespukkandan
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
2022-04-04[cleanup] Use `_html_extract_title`pukkandan
2022-04-03[elonet] Rewrite extractor (#3277)Fam0r
Closes #2911 Authored by: Fam0r, pukkandan
2022-03-28[utils] Add `filter_dict`pukkandan
2022-03-24[docs] Minor improvementspukkandan
Closes #3127, Closes #3081, Closes #3177
2022-03-24Fix bug in 52efa4b31200119adaa8acf33e50b84fcb6948f0pukkandan
Closes #3173
2022-03-24[extractor] Allow control characters inside jsonpukkandan
Closes #3174
2022-03-18[extractor] Add `_perform_login` function (#2943)pukkandan
* Adds new functions `_initialize_pre_login` and `_perform_login` as part of the extractor API * Adds `ie.supports_login` to the public API
2022-03-12[extractor] Support merging subtitles with datacoletdjnz
Authored-by: coletdjnz
2022-03-08[cleanup, docs] Misc cleanuppukkandan
Closes #2828, closes #2734, closes #2802, closes #2937
2022-03-08[utils] Better traceback for `ExtractorError`pukkandan
2022-03-04[ant1newsgr] Add extractor (#1982)Zenon Mousmoulas
Authored by: zmousm
2022-03-04[FormatSort] Consider `acodec`=`ogg` as `vorbis`pukkandan