Commit Graph

57 Commits (347182a0cdc175283185ad887fcae3075c955cdc)

Author SHA1 Message Date
Paul Wrubel d75201a873
Use `os.replace` where applicable (#793)
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
3 years ago
pukkandan 060ac76257
[test] Use `pytest` instead of `nosetests` (#482)
`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 #480
3 years ago
pukkandan 245524e6a3
Release 2021.07.21
and fix some typos
Closes #538
3 years ago
pukkandan 337e0c62f8
[embedthumbnail] Correctly escape filename
Closes #352
The approach in [1] is faulty as can be seen in the test cases
1. bff857a8af
4 years ago
shirt 4cf1e5d2f9
Native concurrent downloading of fragments (#166)
* Option `--concurrent-fragments` (`-N`) to set the number of threads

Related: #165

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
4 years ago
hseg da7f321e93
Fix packaging bugs (#129)
* 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>
4 years ago
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
4 years ago
Pccode66 7a5c1cfe93
Completely change project name to yt-dlp (#85)
* 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
4 years ago
pukkandan 4524baf056 Release 2021.02.19 4 years ago
pukkandan 068693675e Cleanup some code and fix typos
:ci skip dl
4 years ago
pukkandan b3943b2f33 [pyinst.py] Move back to root dir (Closes #63) 4 years ago
pukkandan 8a0b932258 [movefiles] Fix compatibility with python2
:ci skip dl
4 years ago
pukkandan c25228e5da Release 2021.02.04 4 years ago
pukkandan 66c935fb16 Linter and misc cleanup
:ci skip dl
4 years ago
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
4 years ago
pukkandan c69911e4c1 Release 2021.01.20 4 years ago
pukkandan e2e43aea21 Portable Configuration file (closes #19)
Inspired by https://github.com/ytdl-org/youtube-dl/pull/27592
4 years ago
pukkandan c76eb41bb9 Preparing for release 4 years ago
pukkandan 50865ca803 v2021.01.05 - Make publicly available 4 years ago
Unknown 6e728bc988 [skip travis] ignore cookies (gitignore) 4 years ago
Unknown c7094d6c8b [skip travis] include spec file in gitignore 4 years ago
Unknown 9688f23716 [skip travis] update gitignore 4 years ago
Stanny Nuytkens d588d4a5a6 [.gitignore] Add .vscode 6 years ago
Logan Fleur b995043ab8 Ignore venv directory 7 years ago
Yen Chi Hsuan 68d43a61b5 Ignore TTML subtitles 7 years ago
Yen Chi Hsuan 9f54ae2873
Ignore and clean *.ytdl files 8 years ago
Sergey M․ cb2520802d
[extractor/common] Improve m3u8 extraction (closes #12211)
* 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 #11507, #11995, #12211 and twitch vod
8 years ago
Yen Chi Hsuan 51b1378eed
Ignore and clean .swf files
Some videos on NicoNico are swf
8 years ago
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
8 years ago
Yen Chi Hsuan 3a86b2c51e
Ignore and clean .wav files 8 years ago
Yen Chi Hsuan d3c97bad61
Ignore and cleanup 3gp files 8 years ago
venth 2a329110b9 ignored intellij related files 9 years ago
Yen Chi Hsuan 92cf872a48
[.gitignore] Ignore mp3 files
[ci skip]
9 years ago
Yen Chi Hsuan e21f17fc86
[test/test_socks] Test with local SOCKS servers 9 years ago
Yen Chi Hsuan 72f3289ac4
[test/test_socks] Add tests for SOCKS proxies 9 years ago
Jaime Marquínez Ferrándiz 779822d945 Add experimental support for lazy loading the info extractors
'make lazy-extractors' creates the youtube_dl/extractor/lazy_extractors.py (imported by youtube_dl/extractor/__init__.py), which contains simplified classes that only have the 'suitable' class method and that load the appropiate class with the '__new__' method when a instance is created.
9 years ago
Yen Chi Hsuan 101067de12 Jython support - handle *.class files 9 years ago
oteng 03ff2cc1c4 [Auengine] corrected extractions logic
The way the video download url was been extracted was
not working well so i change it for it to extract the
correct url
10 years ago
Philipp Hagemeister 4d7b03f1f2 [zsh-completion] Ignore generated file (#3890) 10 years ago
Jaime Marquínez Ferrándiz 56d1912f1d Add a completion script generator for the fish shell 10 years ago
mcd1992 a2360a4c80 Moved from os.system to subprocess.call 10 years ago
Philipp Hagemeister 455fa214b6 Ignore more downloaded files 11 years ago
Filippo Valsorda 79cfb46d42 add tox configuration file for easy testing 11 years ago
Philipp Hagemeister e0df6211cc Restore accidentally deleted commits
That's what happens if you let Windows machines write :(
11 years ago
Ismael Mejia 18b4e04f1c Merge branch 'master' into subtitles_rework 11 years ago
Ismael Mejia 67dfbc0cb9 Added exceptions for the subtitle and video types in .gitignore 11 years ago
Johny Mo Swag 51af426d89 forgot to fix this. 12 years ago
Johny Mo Swag 64c78d50cc working - worldstarhiphop IE
Support for WorldStarHipHop
12 years ago
Philipp Hagemeister bfc6ea7935 Ignore PyPi metadata 12 years ago
Filippo Valsorda cb6ff87fbb The new updates system, relies on gh-pages, secured by RSA, uses external web servers 12 years ago