Commit Graph

329 Commits (f0f867f008a1728f5f6ac1224b9e014b5d27f817)

Author SHA1 Message Date
Simon Sawicki d400e261cf
[devscripts] Script to generate changelog ()
Authored by: Grub4K
pukkandan 5b28cef72d
[cleanup] Misc
pukkandan a538772969
[cleanup] Misc
Closes 
Matthew 8e40b9d1ec
Improve plugin architecture ()
to make plugins easier to develop and use:
* Plugins are now loaded as namespace packages.
* Plugins can be loaded in any distribution of yt-dlp (binary, pip, source, etc.).
* Plugin packages can be installed and managed via pip, or dropped into any of the documented locations.
* Users do not need to edit any code files to install plugins.
* Backwards-compatible with previous plugin architecture.

As a side-effect, yt-dlp will now search in a few more locations for config files.

Closes https://github.com/yt-dlp/yt-dlp/issues/1389

Authored by: flashdagger, coletdjnz, pukkandan, Grub4K
Co-authored-by: Marcel <flashdagger@googlemail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
pukkandan 6368e2e639
[cleanup] Misc
Closes 
Lesmiscore 7d61d2306e
[build] Replace `set-output` with `GITHUB_OUTPUT` ()
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Authored by: Lesmiscore
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
pukkandan 5ad28e7ffd
[extractor] Common function `_match_valid_url`
Kid 5c333d7496
[lazy_extractor] Bugfix for when plugin directory doesn't exist ()
Bug introduced by: 0b2e9d2c30

Authored by: kidonng
pukkandan b868936cd6 [cleanup] Misc
pukkandan 1aebc0f79e
Add logo and banner
pukkandan 060ac76257
[test] Use `pytest` instead of `nosetests` ()
`nosetests` is no longer being maintained : https://github.com/nose-devs/nose/issues/1099
and will stop working in py 3.10 as can be seen in 
pukkandan 9d83ad93d0
[cleanup] Mark unused files
felix cc52de4356
[cleanup] Point all shebang to `python3` ()
Authored by: fstirlitz
pukkandan 0b2e9d2c30
[lazy_extractor] Do not load plugins
hseg da7f321e93
Fix packaging bugs ()
* Autogenerate `AUTHORS`
* Fix `setup.py` using wrong completion files
* Complete `ChangeLog` -> `Changelog.md` rename
* Make `make tar` respect DESTDIR
* Remove `bin/` `yt-dlp` and `docs/` from tar and sdist
* Make `pypi-files` build all files needed for `python setup.py`
* Add `completions` alias
* Add `devscripts/` and `supportedsites.md` to pip sdist
* Remove `man` target
* Remove `README.txt` from sdist
* Make `clean` more granular
* Move aliases to top

Authored by: hseg <gesh@gesh.uni.cx>
hseg 359d6d8650 Fix completion paths, zsh pip completion install
Closes: , 
Pccode66 7a5c1cfe93
Completely change project name to yt-dlp ()
* All modules and binary names are changed
* All documentation references changed
* yt-dlp no longer loads youtube-dlc config files
* All URLs changed to point to organization account

Co-authored-by: Pccode66
Co-authored-by: pukkandan
pukkandan f3b7c69377 [version] Set version number based on UTC time, not local time
pukkandan b3943b2f33 [pyinst.py] Move back to root dir (Closes )
shirt-dev 3dd264bf42
Implement self updater
Co-authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com> (shirt-dev)
Co-authored-by: pukkandan <pukkandan@gmail.com>
pukkandan 06ff212d64 [documentation] Crypto is an optional dependency
pukkandan ff88a05cff [pyinst] Automatically detect python architecture and working directory
:ci skip all
pukkandan e38df8f9fa Refactor `update-version`, `pyinst.py` and related files
* Refactor update-version
* Moved pyinst, update-version and icon into devscripts
* pyinst doesn't bump version anymore
* Merge pyinst and pyinst32. Usage: `pyinst.py [32|64]`
* Add mutagen as requirement
* Remove make_win and related files
pukkandan 66c935fb16 Linter and misc cleanup
:ci skip dl
alxnull 0c3d0f5177 Added `--force-overwrites` option (https://github.com/ytdl-org/youtube-dl/pull/20405)
Co-authored by alxnull
Alex Merkel ab8e5e516f Add post_hooks option to YoutubeDL.py (https://github.com/ytdl-org/youtube-dl/pull/27573)
Authored by: alexmerkel
pukkandan c76eb41bb9 Preparing for release
pukkandan 8bdd16b499 Merge 'ytdl-org/youtube-dl/master' release 2020.11.19
Old Extractors left behind:
	VLivePlaylistIE
	YoutubeSearchURLIE
	YoutubeShowIE
	YoutubeFavouritesIE

If removing old extractors, make corresponding changes in
	docs/supportedsites.md
	youtube_dlc/extractor/extractors.py

Not merged:
	.github/ISSUE_TEMPLATE/1_broken_site.md
	.github/ISSUE_TEMPLATE/2_site_support_request.md
	.github/ISSUE_TEMPLATE/3_site_feature_request.md
	.github/ISSUE_TEMPLATE/4_bug_report.md
	.github/ISSUE_TEMPLATE/5_feature_request.md
	test/test_all_urls.py
	youtube_dlc/version.py
	Changelog
Tom-Oliver Heidel cd93279de8 Merge branch 'ext/remuxe-video' of https://github.com/Zocker1999NET/youtube-dl into Zocker1999NET-ext/remuxe-video
Unknown 139cb94276 flake8 hotfix
Unknown e367127957 [skip travis] minor fixes
Unknown 3fba008111 [skip travis] tweaks
Unknown cefecac12c [skip travis] renaming
to avoid using same folder when using pip install for example
Felix Stupp efe87a10ae
Added --remux-video option
Fixes 

- Supported formats declared: mp4, mkv
- Added FFmpegVideoRemuxerPP as postprocessor
- Added option to README and shell-completion scripts
nmeum 259ad38173 [devscripts/create-github-release] Remove unused import
Sergey M․ 0d5c415e1f
[devscripts/create-github-release] Switch to using PAT for authentication
Basic authentication will be deprecated soon
Sergey M․ 3089bc748c
Fix W504 and disable W503 (closes )
Sergey M․ 6f366ef30c
Issue template overhaul
Sergey M․ 067aa17edf
Start moving to ytdl-org
Sergey M․ f7560859a3
[devscripts/update-copyright] Update copyright year
Sergey M․ d3711b0050
[devscripts/gh-pages/generate-download.py] Use program checksum from versions.json
Sergey M․ 7a6c204fcb
[travis] Add Jython build
Yen Chi Hsuan 82a62de192 [Makefile,devscripts/run_tests.sh] Actually exclude network tests
Closes 
Kareem Moussa 8a1a60d173 [devscripts/check-porn] Fix gettestcases import
Yen Chi Hsuan 473e87064b
[devscripts/prepare_manpage] Fix deprecated escape sequence on py36
Sergey M․ 19f3821821
[devscripts/make_lazy_extractors] Fix making lazy extractors on python 3 under Windows
Sergey M․ 0f3d41b44d
[devscripts/run_tests] Exclude youtube lists tests from core build
Yen Chi Hsuan 8936f68a0b
[travis] Run tests in parallel
[test_download] Print test names in case of network errors

[test_download] Add comments for nose parameters

[test_download] Modify outtmpl to prevent info JSON filename conflicts

Thanks @jaimeMF for the idea.

[travis] Only download tests should be run in parallel
Anisse Astier 099cfdb770 [devscripts/run_tests.sh] Change permission for script to 755
Sergey M․ 1e2c3f61fc
[travis] Separate builds for core and download