Commit Graph

276 Commits (ab4cbeff00ac08f142f78a6281aa0c1124a59daa)

Author SHA1 Message Date
pukkandan 251ae04e6a
[lazy_extractor] Create instance only after pre-checking archive 3 years ago
pukkandan 5bc4a65eea
[lazy_extractor] Import actual class if an attribute is accessed
Now all core tests pass with lazy extraction enabled
3 years ago
pukkandan 3fb4e21b38
[lazy_extractors] Fix `suitable` and add flake8 test 3 years ago
pukkandan 5ad28e7ffd
[extractor] Common function `_match_valid_url` 3 years ago
Kid 5c333d7496
[lazy_extractor] Bugfix for when plugin directory doesn't exist (#691)
Bug introduced by: 0b2e9d2c30

Authored by: kidonng
3 years ago
pukkandan b868936cd6 [cleanup] Misc 3 years ago
pukkandan 1aebc0f79e
Add logo and banner 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 9d83ad93d0
[cleanup] Mark unused files 3 years ago
felix cc52de4356
[cleanup] Point all shebang to `python3` (#372)
Authored by: fstirlitz
3 years ago
pukkandan 0b2e9d2c30
[lazy_extractor] Do not load plugins 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
hseg 359d6d8650 Fix completion paths, zsh pip completion install
Closes: #108, #110
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 f3b7c69377 [version] Set version number based on UTC time, not local time 4 years ago
pukkandan b3943b2f33 [pyinst.py] Move back to root dir (Closes #63) 4 years ago
shirt-dev 3dd264bf42
#64 Implement self updater
Co-authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com> (shirt-dev)
Co-authored-by: pukkandan <pukkandan@gmail.com>
4 years ago
pukkandan 06ff212d64 [documentation] Crypto is an optional dependency 4 years ago
pukkandan ff88a05cff [pyinst] Automatically detect python architecture and working directory
:ci skip all
4 years ago
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
4 years ago
pukkandan 66c935fb16 Linter and misc cleanup
:ci skip dl
4 years ago
alxnull 0c3d0f5177 Added `--force-overwrites` option (https://github.com/ytdl-org/youtube-dl/pull/20405)
Co-authored by alxnull
4 years ago
Alex Merkel ab8e5e516f Add post_hooks option to YoutubeDL.py (https://github.com/ytdl-org/youtube-dl/pull/27573)
Authored by: alexmerkel
4 years ago
pukkandan c76eb41bb9 Preparing for release 4 years ago
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
4 years ago
Tom-Oliver Heidel cd93279de8 Merge branch 'ext/remuxe-video' of https://github.com/Zocker1999NET/youtube-dl into Zocker1999NET-ext/remuxe-video 4 years ago
Unknown 139cb94276 flake8 hotfix 4 years ago
Unknown e367127957 [skip travis] minor fixes 4 years ago
Unknown 3fba008111 [skip travis] tweaks 4 years ago
Unknown cefecac12c [skip travis] renaming
to avoid using same folder when using pip install for example
4 years ago
Felix Stupp efe87a10ae
Added --remux-video option
Fixes #6996

- Supported formats declared: mp4, mkv
- Added FFmpegVideoRemuxerPP as postprocessor
- Added option to README and shell-completion scripts
5 years ago
nmeum 259ad38173 [devscripts/create-github-release] Remove unused import 5 years ago
Sergey M․ 0d5c415e1f
[devscripts/create-github-release] Switch to using PAT for authentication
Basic authentication will be deprecated soon
5 years ago
Sergey M․ 3089bc748c
Fix W504 and disable W503 (closes #20863) 6 years ago
Sergey M․ 6f366ef30c
Issue template overhaul 6 years ago
Sergey M․ 067aa17edf
Start moving to ytdl-org 6 years ago
Sergey M․ f7560859a3
[devscripts/update-copyright] Update copyright year 7 years ago
Sergey M․ d3711b0050
[devscripts/gh-pages/generate-download.py] Use program checksum from versions.json 7 years ago
Sergey M․ 7a6c204fcb
[travis] Add Jython build 7 years ago
Yen Chi Hsuan 82a62de192 [Makefile,devscripts/run_tests.sh] Actually exclude network tests
Closes #14858
7 years ago
Kareem Moussa 8a1a60d173 [devscripts/check-porn] Fix gettestcases import 7 years ago
Yen Chi Hsuan 473e87064b
[devscripts/prepare_manpage] Fix deprecated escape sequence on py36 8 years ago
Sergey M․ 19f3821821
[devscripts/make_lazy_extractors] Fix making lazy extractors on python 3 under Windows 8 years ago
Sergey M․ 0f3d41b44d
[devscripts/run_tests] Exclude youtube lists tests from core build 8 years ago
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
8 years ago
Anisse Astier 099cfdb770 [devscripts/run_tests.sh] Change permission for script to 755 8 years ago
Sergey M․ 1e2c3f61fc
[travis] Separate builds for core and download 8 years ago
Chris Gavin 490da94edf [devscripts/buildserver] Remove unreachable except block 8 years ago
Sergey M․ 689f31fde5
[devscripts/create-github-release] Fill release body from ChangeLog (closes #11094) 8 years ago
Yen Chi Hsuan 582be35847
Update coding style after pycodestyle 2.1.0
In pycodestyle 2.1.0, E305 was introduced, which requires two blank
lines after top level declarations, too.

See https://github.com/PyCQA/pycodestyle/issues/400

See also #10689; thanks @stepshal for first mentioning this issue and
initial patches
8 years ago
Déstin Reed dcdb292fdd
Unify coding cookie 8 years ago
Sergey M․ fc150cba1d
[devscripts/release.sh] Add missing fi 8 years ago
Sergey M․ eb87d4545a
[devscripts/release.sh] Add ChangeLog reminder prompt 8 years ago
Sergey M․ cc9c8ce5df
[devscripts/prepare_manpage] Fix description strings starting with dash (Closes #10273) 8 years ago
Yen Chi Hsuan 35aa6c538f Add ChangeLog 8 years ago
Sergey M․ 7935926baa
[devscripts/show-downloads-statistics] Add support for paging 8 years ago
Yen Chi Hsuan 9d865a1af6
[travis] Skip downloading srelay
SOCKS tests never run on Travis CI due to unknown reasons, and
downloading them broke some tests (e.g.
https://travis-ci.org/rg3/youtube-dl/builds/144306425)
8 years ago
Philipp Hagemeister 381ff44756 [devscripts/generate-download] Remove MD5 and SHA1 8 years ago
Sergey M․ bf3ae6a543
[devscripts/show-downloads-statictics] Add script for displaying downloads statistics 8 years ago
Jaime Marquínez Ferrándiz 169d836feb lazy-extractors: Fix after commit 6e6b9f600f
The problem was in the following code:

    class ArteTVPlus7IE(ArteTVBaseIE):

        ...

        @classmethod
        def suitable(cls, url):
            return False if ArteTVPlaylistIE.suitable(url) else super(ArteTVPlus7IE, cls).suitable(url)

And its sublcasses like ArteTVCinemaIE.

Since in the lazy_extractors.py file ArteTVCinemaIE was not a subclass of ArteTVPlus7IE, super(ArteTVPlus7IE, cls) failed.

To fix it we have to make it a subclass. Since the order of _ALL_CLASSES is arbitrary we must sort them so that the base classes are defined first. We also must add base classes like YoutubeBaseInfoExtractor.
9 years ago
Sergey M․ 4cef70db6c
[devscripts/release.sh] Add flag for gpg-sign commits 9 years ago
Sergey M․ db59b37d0b
[devscripts/create-github-release] Make full published releases by default 9 years ago
Sergey M․ 39b32571df
[devscripts/release.sh] Release to GitHub 9 years ago
Sergey M․ db56f281d9
[devscripts/create-github-release] Add script for releasing on GitHub
Yet only Basic authentication is supported either via .netrc or by manual input
9 years ago
Sergey M․ e92b552a10
[devscripts/buildserver] Use compat_input from compat 9 years ago
Philipp Hagemeister cad88f96dc disable uploading to yt-dl.org for now 9 years ago
Sergey M․ 56bd028a0f
[devscripts/buildserver] Listen on all interfaces 9 years ago
Sergey M․ 681b923b5c
[devscripts/release.sh] Allow passing buildserver address as cli option 9 years ago
Sergey M․ f3fb420b82
[devscripts/release.sh] Check for wheel 9 years ago
Sergey M․ 165e3561e9
[devscripts/buildserver] Check Wow6432Node first when searching for python
This allows building releases from 64bit OS
9 years ago
Sergey M․ 44c8892369
[devscripts/prepare_manpage] Fix manpage generation on Windows 9 years ago
Sergey M․ f574103d7c
[buildserver] Fix buildserver and make python2 compatible 9 years ago
Philipp Hagemeister d2fee3c99e release.sh: also check for python3 rsa module 9 years ago
Philipp Hagemeister 7e642e4fd6 release: check for pandoc
Abort releaseing if pandoc is missing.
(pandoc was not included in my essential app database, and thus missing on my new machine.)
9 years ago
Yen Chi Hsuan e21f17fc86
[test/test_socks] Test with local SOCKS servers 9 years ago
Jaime Marquínez Ferrándiz 8a5dc1c1e1 lazy extractors: Initialize the real info extractor
According to the docs '__init__' is only called automatically if '__new__' returns an instance of the original class.
9 years ago
Jaime Marquínez Ferrándiz 6b97ca96fc lazy extractors: Style fixes
* Sort extractors alphabetically
* Add newlines when needed (youtube_dl/extractors/lazy_extractors.py pass the flake8 test now)
9 years ago
Jaime Marquínez Ferrándiz c1ce6acdd7 lazy extractors: Fix building with python2.6 9 years ago
Jaime Marquínez Ferrándiz 0d778b1db9 lazy extractors: specify the encoding
When building with python3 the unicode characters are not escaped, python2 needs to know the encoding.
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
Jaime Marquínez Ferrándiz be0c7009fb Makefile: use full path for the ISSUE_TEMPLATE.md file 9 years ago
Sergey M․ 7168a6c874 [devscripts/make_issue_template] Fix __version__ again 9 years ago
Sergey M․ 89924f8230 [devscripts/make_issue_template] Fix NameError under python3 9 years ago
Sergey M․ 4a5a67ca25 [devscripts/release.sh] Make ISSUE_TEMPLATE.md and commit it 9 years ago
Sergey M․ 3bf1df51fd [devscripts/make_issue_template] Rework to use ISSUE_TEMPLATE.tmpl (Closes #8785) 9 years ago
Sander van den Oever 7710bdf4e8 Add initial ISSUE_TEMPLATE
Add auto-updating of youtube-dl version in ISSUE_TEMPLATE

Move parts of template text and adopt makefile to new format

Moved the 'kind-of-issue' section and rephrased a bit

Rephrased and moved Example URL section upwards

Moved ISSUE_TEMPLATE inside .github folder.

Update makefile to match new folderstructure
9 years ago
Jakub Wilk dfb1b1468c Fix typos
Closes #8200.
9 years ago
Yen Chi Hsuan bad84757eb [doc] Better formatting of youtube-dl.1 (closes #6510) 9 years ago
Yen Chi Hsuan 95240b8093 Use `insert` for all sys.path manipulations
Closes #6867.
9 years ago
Jaime Marquínez Ferrándiz 70a1165b32 Don't use bare 'except:'
They catch any exception, including KeyboardInterrupt, we don't want to catch it.
10 years ago
Jaime Marquínez Ferrándiz f9544f6e8f [test/aes] Test aes_decrypt_text with 256 bit 10 years ago
Jaime Marquínez Ferrándiz a7d9ded45d [test] Add tests for aes 10 years ago
Philipp Hagemeister 8fb3ac3649 PEP8: W503 10 years ago
Philipp Hagemeister ee623d9247 [descripts/release] Regenerate auxiliary documentation on build as well 10 years ago
Philipp Hagemeister d200b11c7e [Makefile] Simplify clean/cleanall 10 years ago
Jaime Marquínez Ferrándiz c5d666d374 Fix build with python 2.6
* Packages cannot be executed
* '.format' needs the index of the argument

(Reported in https://github.com/Homebrew/homebrew/issues/35616)
10 years ago
Philipp Hagemeister 2bad0e5d20 [/__init__] Define public API 10 years ago
Philipp Hagemeister 416c7fcbce Add documentation about supported sites (Fixes #4503) 10 years ago
Philipp Hagemeister b50e3bc67f [README] Add table of contents (Closes #4458) 10 years ago
Philipp Hagemeister ccbfaa83b0 [devscripts/make_contributing] Switch to optparse (Fixes #4483) 10 years ago