Commit Graph

73 Commits (ef12dbdcd3e7264bd3d744c1e3107597bd23ad35)

Author SHA1 Message Date
pukkandan 08e29b9f1f
[cleanup] Misc
Closes , 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 71df9b7fd5
[cleanup] Misc
gamer191 304ad45a9b
[cleanup] Misc ()
Authored by: gamer191, pukkandan
pukkandan c6e07cf1e1
[cleanup] Misc
pukkandan f82711587c
[cleanup] Sort imports
Using https://github.com/PyCQA/isort

    isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
pukkandan a44ca5a470
[cleanup] Misc fixes
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, a825ffbffa (commitcomment-68538986), https://github.com/yt-dlp/yt-dlp/issues/2360, 5fa3c9a88f (r70393519), 5fa3c9a88f (r70393254)
pukkandan 08d30158ec
[cleanup, docs] Misc cleanup
Closes , closes , closes , closes 
pukkandan d5a398988b
Update to ytdl-commit-78ce962
[youtube] Support channel search
78ce962f4f
pukkandan 6970b6005e
[cleanup] Minor fixes
Closes 
pukkandan b69fd25c25
[cleanup] Misc cleanup
Closes     
pukkandan f304da8a29
[cleanup] Misc cleanup
Closes , closes 
pukkandan 404f611f1c
[youtube] Fix throttling by decrypting n-sig ()
pukkandan 0001fcb586
Add option `--netrc-location`
Closes , 
Ákos Sülyi 40b18348e7
[cleanup] Improve `make clean-test` ()
Authored by: sulyi
Ashish Gupta ffecd3034b
[MuseScore] Add Extractor ()
Closes  
Authored by: Ashish0804
Paul Wrubel d75201a873
Use `os.replace` where applicable ()
When using 
```py
os.remove(encodeFilename(filename))
os.rename(encodeFilename(temp_filename), encodeFilename(filename))
```
the `os.remove` need not be atomic and so can be executed arbitrarily compared to the immediately following rename call. It is better to use `os.replace` instead

Authored by: paulwrubel
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 245524e6a3
Release 2021.07.21
and fix some typos
Closes 
pukkandan 337e0c62f8
[embedthumbnail] Correctly escape filename
Closes 
The approach in [1] is faulty as can be seen in the test cases
1. bff857a8af
shirt 4cf1e5d2f9
Native concurrent downloading of fragments ()
* Option `--concurrent-fragments` (`-N`) to set the number of threads

Related: 

Known issues:
* When receiving Ctrl+C, the process will exit only after finishing the currently downloading fragments
* The download progress shows the speed of only one thread

Authored by shirt-dev
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>
pukkandan f0884c8b3f Cleanup some code (see desc)
* `--get-comments` doesn't imply `--write-info-json` if `-J`, `-j` or `--print-json` are used
* Don't pass `config_location` to `YoutubeDL` (it is unused)
* [bilibiliaudio] Recognize the file as audio-only
* Update gitignore
* Fix typos
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 4524baf056 Release 2021.02.19
pukkandan 068693675e Cleanup some code and fix typos
:ci skip dl
pukkandan b3943b2f33 [pyinst.py] Move back to root dir (Closes )
pukkandan 8a0b932258 [movefiles] Fix compatibility with python2
:ci skip dl
pukkandan c25228e5da Release 2021.02.04
pukkandan 66c935fb16 Linter and misc cleanup
:ci skip dl
pukkandan f74980cbae Plugin support
Extractor plugins are loaded from <root-dir>/ytdlp_plugins/extractor/__init__.py

Inspired by https://github.com/un-def/dl-plus

:ci skip dl
pukkandan c69911e4c1 Release 2021.01.20
pukkandan e2e43aea21 Portable Configuration file (closes )
Inspired by https://github.com/ytdl-org/youtube-dl/pull/27592
pukkandan c76eb41bb9 Preparing for release
pukkandan 50865ca803 v2021.01.05 - Make publicly available
Unknown 6e728bc988 [skip travis] ignore cookies (gitignore)
Unknown c7094d6c8b [skip travis] include spec file in gitignore
Unknown 9688f23716 [skip travis] update gitignore
Stanny Nuytkens d588d4a5a6 [.gitignore] Add .vscode
Logan Fleur b995043ab8 Ignore venv directory
Yen Chi Hsuan 68d43a61b5 Ignore TTML subtitles
Yen Chi Hsuan 9f54ae2873
Ignore and clean *.ytdl files
Sergey M․ cb2520802d
[extractor/common] Improve m3u8 extraction (closes )
* Extract m3u8 parsing to separate method
* Improve rendition groups extraction
* Build stream name according stream GROUP-ID
* Ignore reference to AUDIO group without URI when stream has no CODECS
+ Add test coverage for parsing m3u8 from , ,  and twitch vod
Yen Chi Hsuan 51b1378eed
Ignore and clean .swf files
Some videos on NicoNico are swf
Yen Chi Hsuan 2574721a81
Clean and ignore more file types
ape is another audio codec seen in kuwo. See
https://en.wikipedia.org/wiki/Monkey's_Audio
Yen Chi Hsuan 3a86b2c51e
Ignore and clean .wav files
Yen Chi Hsuan d3c97bad61
Ignore and cleanup 3gp files
venth 2a329110b9 ignored intellij related files
Yen Chi Hsuan 92cf872a48
[.gitignore] Ignore mp3 files
[ci skip]
Yen Chi Hsuan e21f17fc86
[test/test_socks] Test with local SOCKS servers