Commit Graph

193 Commits (79dd8884bb83ae7244f11c928fd9af6abf1f97f9)

Author SHA1 Message Date
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
Chris Gavin 490da94edf [devscripts/buildserver] Remove unreachable except block
Sergey M․ 689f31fde5
[devscripts/create-github-release] Fill release body from ChangeLog (closes )
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 ; thanks @stepshal for first mentioning this issue and
initial patches
Déstin Reed dcdb292fdd
Unify coding cookie
Sergey M․ fc150cba1d
[devscripts/release.sh] Add missing fi
Sergey M․ eb87d4545a
[devscripts/release.sh] Add ChangeLog reminder prompt
Sergey M․ cc9c8ce5df
[devscripts/prepare_manpage] Fix description strings starting with dash (Closes )
Yen Chi Hsuan 35aa6c538f Add ChangeLog
Sergey M․ 7935926baa
[devscripts/show-downloads-statistics] Add support for paging
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)
Philipp Hagemeister 381ff44756 [devscripts/generate-download] Remove MD5 and SHA1
Sergey M․ bf3ae6a543
[devscripts/show-downloads-statictics] Add script for displaying downloads statistics
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.
Sergey M․ 4cef70db6c
[devscripts/release.sh] Add flag for gpg-sign commits
Sergey M․ db59b37d0b
[devscripts/create-github-release] Make full published releases by default
Sergey M․ 39b32571df
[devscripts/release.sh] Release to GitHub
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
Sergey M․ e92b552a10
[devscripts/buildserver] Use compat_input from compat
Philipp Hagemeister cad88f96dc disable uploading to yt-dl.org for now
Sergey M․ 56bd028a0f
[devscripts/buildserver] Listen on all interfaces
Sergey M․ 681b923b5c
[devscripts/release.sh] Allow passing buildserver address as cli option
Sergey M․ f3fb420b82
[devscripts/release.sh] Check for wheel
Sergey M․ 165e3561e9
[devscripts/buildserver] Check Wow6432Node first when searching for python
This allows building releases from 64bit OS
Sergey M․ 44c8892369
[devscripts/prepare_manpage] Fix manpage generation on Windows
Sergey M․ f574103d7c
[buildserver] Fix buildserver and make python2 compatible
Philipp Hagemeister d2fee3c99e release.sh: also check for python3 rsa module
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.)
Yen Chi Hsuan e21f17fc86
[test/test_socks] Test with local SOCKS servers
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.
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)
Jaime Marquínez Ferrándiz c1ce6acdd7 lazy extractors: Fix building with python2.6
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.
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.
Jaime Marquínez Ferrándiz be0c7009fb Makefile: use full path for the ISSUE_TEMPLATE.md file
Sergey M․ 7168a6c874 [devscripts/make_issue_template] Fix __version__ again
Sergey M․ 89924f8230 [devscripts/make_issue_template] Fix NameError under python3