Commit Graph

273 Commits (7244895bde622c6aa0f2d858af1989c4b4f7b4aa)

Author SHA1 Message Date
pukkandan 2fa669f759
[docs] Misc improvements
Closes , Closes , Closes , Closes , Closes 
josanabr 46d72cd2c7
[devscripts] make_lazy_extractors: Fix for Docker ()
Authored by: josanabr
pukkandan d2c8aadf79
[cleanup] Misc
Closes , Closes , Closes 
Authored by: pukkandan, MrRawes, DavidH-2022
pukkandan e5458d1d88
Fix lazy extractor bug in fe7866d0ed
and add test

Fixes https://github.com/yt-dlp/yt-dlp/pull/3234#issuecomment-1225347071
pukkandan 96623ab5c6
[devscripts] Fix import
Closes 
pukkandan 70b2340909
[build, devscripts] Add devscript to set a build variant
Closes 
pukkandan 115add4387
[devscripts] Create `utils` and refactor
pukkandan 8f97a15d1c [extractor] Framework for embed detection ()
Lesmiscore 5c0dc6e603
[devscripts/update-formulae] Do not change dependency section
Closes 
pukkandan ca9f1df253
[docs] Improve issue templates
Chris Lamb 5b836d4739
[build] Consistent order for lazy extractors ()
Authored by: lamby
pukkandan 14f25df2b6
[compat] Remove deprecated functions from core code
pukkandan 54007a45f1
[cleanup] Consistent style for file heads
pukkandan ac66811112
[compat] Remove more functions
Removing any more will require changes to a large number of extractors
pukkandan 560738f34d
[extractor] Import `_ALL_CLASSES` lazily
This significantly speeds up `import yt_dlp` in the absence of `lazy_extractors`
pukkandan 64fa820ccf
[cleanup] Misc fixes (see desc)
* [tvver] Fix bug in 6837633a4a - Closes 
* [rumble] Fix tests - Closes 
* [make] Remove `cat` abuse - Closes 
* [make] Revert  - Closes 
* [utils] Improve `get_elements_by_class` - Closes 
* [utils] Inherit `Namespace` from `types.SimpleNamespace`
* [utils] Use `re.fullmatch` for matching filters
* [jsinterp] Handle quotes in `_separate`
* [make_readme] Allow overshooting last line

Authored by: pukkandan, kwconder, MrRawes, Lesmiscore
pukkandan 8a82af3511
[cleanup] Misc fixes and cleanup
Closes , Closes , Closes 
pukkandan c487cf0010
[cleanup] Misc
pukkandan 21633673c3
[cleanup] Minor fixes
pukkandan 2414649192
[cleanup] Misc cleanup
pukkandan 82d020804d
[extractor] Use classmethod/property where possible
and refactor lazy extractors accordingly.

This reduces the need to create extractor instances
pukkandan 8dcce6a89c
[extractor] Document netrc machines
Closes 
pukkandan 0f06bcd759
[cleanup] Minor fixes (See desc)
* [youtube] Fix `--youtube-skip-dash-manifest`
* [build] Use `$()` in `Makefile`. Closes 
* Fix bug in 385ffb467b
* Fix bug in 43d7f5a5d0
* [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode`
* [utils] LazyList: Expose unnecessarily "protected" attributes
and other minor cleanup
pukkandan 1d485a1a79
[cleanup] Misc fixes
Closes , https://github.com/yt-dlp/yt-dlp/issues/3514#issuecomment-1105944364
pukkandan c171445431
[cleanup,build] Cleanup some build-related code
Fixes an issue in 7ab56be2c7
pukkandan 19a0394044
[cleanup] Misc cleanup and refactor ()
pukkandan b6dc37fe2a
[test] Convert warnings into errors
* And fix some existing warnings

Authored by: fstirlitz
pukkandan e5a998f368
[cleanup] Misc cleanup ()
Authored by: fstirlitz, pukkandan
pukkandan f82711587c
[cleanup] Sort imports
Using https://github.com/PyCQA/isort

    isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
pukkandan 86e5f3ed2e
[cleanup] Upgrade syntax
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
felix ab96d1ad1b
[cleanup] Remove unused scripts/tests ()
Authored by fstirlitz, pukkandan
pukkandan 231025c463
Fix bug in 52efa4b312
Closes 
pukkandan 08d30158ec
[cleanup, docs] Misc cleanup
Closes , closes , closes , closes 
pukkandan b440e1bb22
[devscripts] Improve `prepare_manpage`
Closes 
pukkandan b69fd25c25
[cleanup] Misc cleanup
Closes     
pukkandan 0fcba15d57
[docs] Fix bug in regex escape in python 3.6
Bug in ec2e44fc57
Closes 
chris ec2e44fc57
[docs] Improve manpage format ()
Closes 
Authored by: iw0nderhow, pukkandan
pukkandan 2c4aaaddc9
[lazy_extractors] Fix for search IEs
Closes 
pukkandan 75b725a7cc
[build] Use `workflow_dispatch` for release
pukkandan 36eaf3039a
[build] Save Git HEAD at release alongside version info
pukkandan 96565c7e55
[cleanup] Add keyword automatically to SearchIE descriptions
and some minor cleanup of docs
pukkandan 49a57e70a9
[cleanup] misc
Ákos Sülyi a387b69a7c
[devscripts/run_tests] Use markers to filter tests ()
`-k` filters using a substring match on test name.
`-m` checks markers for an exact match.
Authored by: sulyi
timethrow 8c6f4daa4c
[docs] Write embedding and contributing documentation ()
Authored by: pukkandan, timethrow
pukkandan e6f21b3d92
[docs,cleanup] Some minor refactoring and improve docs
The Hatsune Daishi b8773e63f0
[build] Add homebrew taps ()
https://github.com/yt-dlp/homebrew-taps
Closes: , 
Authored by: nao20010128nao
pukkandan 8b7491c8d1
Fix `add_info_extractor` when used via API
Bug from: 251ae04e6a
pukkandan 251ae04e6a
[lazy_extractor] Create instance only after pre-checking archive
pukkandan 5bc4a65eea
[lazy_extractor] Import actual class if an attribute is accessed
Now all core tests pass with lazy extraction enabled
pukkandan 3fb4e21b38
[lazy_extractors] Fix `suitable` and add flake8 test