Commit Graph

336 Commits (0f593dca9fa995d88eb763170a932da61c8f24dc)

Author SHA1 Message Date
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) 9 years ago
Yen Chi Hsuan 35aa6c538f Add ChangeLog 9 years ago
Sergey M․ 7935926baa
[devscripts/show-downloads-statistics] Add support for paging 9 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)
9 years ago
Philipp Hagemeister 381ff44756 [devscripts/generate-download] Remove MD5 and SHA1 9 years ago
Sergey M․ bf3ae6a543
[devscripts/show-downloads-statictics] Add script for displaying downloads statistics 9 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
Philipp Hagemeister 13dcfd41bd [CONTRIBUTING.md] Remove the section about embedding; that is not applicable for youtube-dl contributors 10 years ago
Philipp Hagemeister e56190b378 [Makefile] Add CONTRIBUTING.md (Fixes #2984) 10 years ago
Philipp Hagemeister dcddc10a50 [test_unicode_literals] Arm unicode_literals check
From now on, the line

from __future__ import unicode_literals

should be contained in every single Python file lest we run into any more 2.x/3.x issues.
Going forward, we're likely to develop on 3.x only and would likely miss subtle bugs otherwise.
10 years ago
Philipp Hagemeister b74e86f48a Fix all PEP8 issues except E501 10 years ago
Philipp Hagemeister 380b822003 Remove outdated transition helper scripts 10 years ago
Jouke Waleson fab6d4c048 remove useless line, the result is never used 10 years ago
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules 10 years ago
Jouke Waleson 2514d2635e PEP8: E225,E227 10 years ago
Jouke Waleson 8bcc875676 PEP8: more applied 10 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Xu Cheng 3b700f8d43 support zsh completion 10 years ago
Jaime Marquínez Ferrándiz 56d1912f1d Add a completion script generator for the fish shell 10 years ago
Philipp Hagemeister 11ab41658e [devscripts/release] Do not restore youtube-dl{,.exe} binaries 10 years ago
Philipp Hagemeister 63961d87a6 [devscripts/release] Do not commit CHANGELOG 11 years ago
Philipp Hagemeister 1800eeefed add prepare_manpage 11 years ago
Philipp Hagemeister d19bb9c0aa Split man and README (Fixes #2892) 11 years ago
Philipp Hagemeister 4c0941853a [devscripts/release] Check version number 11 years ago
Philipp Hagemeister cc88b90ec8 [desvscripts/release] Bump the number of password tries to accomodate stubby-fingered @phihag 11 years ago
Jaime Marquínez Ferrándiz 4056ad8f36 Build and upload universal wheels to pypi 11 years ago
Philipp Hagemeister 0f8f097183 [release.sh] Do not run tests by default
We are at the point that testing takes waay too long for a release cycle, and fails way too often.
Tests through travis are a better indicator than testing just before release.
11 years ago
Filippo Valsorda a45ea17042 Implement a different adult sites checking algorithm 11 years ago
Philipp Hagemeister 50144133c5 [release] Check for useless files before release 11 years ago
Jaime Marquínez Ferrándiz 1c0f31f9f7 [bash-completion] Complete filename if `—load-info` is given 11 years ago
Philipp Hagemeister 3e34db3170 More Atom feed improvements (#2081) 11 years ago
Philipp Hagemeister 317d4edfa8 Improve Atom feed creation (Fixes #2081) 11 years ago
Philipp Hagemeister 9b12003c35 atom feed generator: Make IDs proper URLs (#2081) 11 years ago
Philipp Hagemeister 49f2bf76a8 Fix make_readme on Python 2 11 years ago
Philipp Hagemeister 1e91866f77 Make make_readme run in a locale-less environment
Mentioned in #267
11 years ago
Jaime Marquínez Ferrándiz 5f09bbff4d [bash-completion] Complete the ':ythistory' keyword 11 years ago
Jaime Marquínez Ferrándiz c1f9c59d11 [bash-completion] Complete filenames or directories if the previous option requires it 11 years ago
Filippo Valsorda 750e9833b8 Add the missing age_limit tags; added a devscript to do a superficial check for porn sites without the age_limit tag in the test 11 years ago
Philipp Hagemeister d5594202aa Simplify release process 11 years ago
Philipp Hagemeister 3d2986063c [bash-completion] Do not use dash in function name (Fixes #1623) 11 years ago
Jaime Marquínez Ferrándiz 4193a453c2 Don't add extractors with IE_DESC set to False to the page of supported sites. 11 years ago
Philipp Hagemeister 509f398292 Remove youtube_genalgo (#1515)
With the automatic signature extraction, this script has become superfluous now
11 years ago
Jaime Marquínez Ferrándiz 6f56389b88 [youtube] update algos for length 86 and 84 (fixes #1494) 11 years ago
Jaime Marquínez Ferrándiz 38d025b3f0 [youtube] add algo for length 91 11 years ago
Jaime Marquínez Ferrándiz 7a878d47fa Merge pull request #1464 from patrickslin/patch-7
Unable to decrypt signature length 93 (fixes #1461)
11 years ago
Philipp Hagemeister 6ae8ee3f54 Update 85 signature (Fixes #1449)
This is the first signature algorithm to have been parsed automatically, although that only works for HTML5 players for now, and is not yet integrated into master.
11 years ago
Philipp Hagemeister 6c603ccce3 [devscripts/release] temporary workarounds 11 years ago
Philipp Hagemeister ef66b0c6ef Merge remote-tracking branch 'origin/master' 11 years ago
Philipp Hagemeister 22b50ecb2f Starts of a Windows service 11 years ago
Philipp Hagemeister 71cedb3c0c [buildserver] Service installation and uninstallation 11 years ago
Jaime Marquínez Ferrándiz ce85f022d2 [youtube] update algo for length 82 (fixes #1416) 11 years ago
Philipp Hagemeister 353ba14060 [buildserver] Rely on repository license 11 years ago
Philipp Hagemeister 83de794223 Add original buildserver from @fraca7 11 years ago
Jaime Marquínez Ferrándiz 22c8b52545 In the supported sites page, sort the extractors in case insensitive 11 years ago
Jaime Marquínez Ferrándiz aa8f2641da [youtube] update algo for length 85 (fixes #1408 and fixes #1406) 11 years ago
Philipp Hagemeister 8851a574a3 Fix add-versions 11 years ago
Philipp Hagemeister 1d213233cd Do not re-download files for hashsum generation (Fixes #1383) 11 years ago
Jaime Marquínez Ferrándiz 09bb17e108 Merge pull request #1378 from patrickslin/patch-6
Vevo sig changed again, please update for us! Thanks very much! (fixes #...
11 years ago
Jaime Marquínez Ferrándiz 691008087b Add an automatic page generator for the supported sites (related #156)
They are listed in the "supportedsites.html" page.
11 years ago
Jaime Marquínez Ferrándiz 2e756879f1 [youtube] update algo for length 86 11 years ago
Jaime Marquínez Ferrándiz 9193c1eede Add youtube keywords to the bash completion script 11 years ago
Jaime Marquínez Ferrándiz 23b00bc0e4 [youtube] update algo for length 84
Only appears sometimes, nearly identical to length 86.
11 years ago
Jaime Marquínez Ferrándiz 52e1eea18b [youtube] update algo for length 86 (fixes #1349) 11 years ago
Jaime Marquínez Ferrándiz 3e223834d9 [youtube] update algo for length 88, thanks to @Ramhack (fixes #1328) 11 years ago
Jaime Marquínez Ferrándiz f2aeefe29c [youtube] update algo for length 84 12 years ago
Philipp Hagemeister d2d1eb5b0a Switch to domain yt-dl.org 12 years ago
Jaime Marquínez Ferrándiz 306170518f [youtube] update algo for length 86 (fixes #1302) 12 years ago
Jaime Marquínez Ferrándiz 066090dd3f [youtube] add algo for length 80 and update player info 12 years ago
Jaime Marquínez Ferrándiz 3669cdba10 [youtube] update algo for length 82 (fixes #1296) 12 years ago
Emilien Kenler bda2c49d75 Update algo - see #1254
Signed-off-by: Emilien Kenler <hello@emilienkenler.com>
12 years ago
Emilien Kenler 2b9213cdc1 Update generator
Signed-off-by: Emilien Kenler <hello@emilienkenler.com>
12 years ago
Jaime Marquínez Ferrándiz 04bca64bde [youtube]: new algo for length 83 (fixes #1164) 12 years ago
Jaime Marquínez Ferrándiz 75952c6e3d YoutubeIE: new algo for length 86 (fixes #1156)
Now is using the same length as the flash player used for age protected videos, but the algorithm is different, so now for age protected videos it first tries to use the old algo.
12 years ago
Jaime Marquínez Ferrándiz 5c468ca8a8 YoutubeIE: add algo for length 79 (fixes #1126) 12 years ago
Jaime Marquínez Ferrándiz aedd6bb97d YoutubeIE: new algo for length 81 (fixes #1127) 12 years ago
Jaime Marquínez Ferrándiz 3e1ad508eb Add Youtube player info for length 87 12 years ago
patrickslin 239e3e0cca YoutubeIE: new algo for length 87 (fixes #1105)
Squashed commit from the pull requests #1107, #1109 and #1110.
12 years ago
Jaime Marquínez Ferrándiz a4358cbabd YoutubeIE: new algo for length 85 (closes #1080), thanks to @patrickslin 12 years ago
Jaime Marquínez Ferrándiz 444b116597 YoutubeIE: add algo for length 90 (closes #1064)
Order the cases from higher to lower length.
12 years ago
Jaime Marquínez Ferrándiz 2aea08eda1 Merge pull request #1068 from MiLk/genalgo-youtube-92
[youtube] Add generator for signature 92
12 years ago
Emilien Kenler ccf365475a [youtube] Add generator for signature 92 12 years ago
Jaime Marquínez Ferrándiz 606d7e67fd YoutubeIE: add algo for length 81 (closes #1026) 12 years ago
Jaime Marquínez Ferrándiz 85347e1cb6 YoutubeIE: a new algo for length 83 12 years ago
Jaime Marquínez Ferrándiz c93898dae9 YoutubeIE: new algo for length 83 (closes #1017 and closes #1016) 12 years ago
Filippo Valsorda 257a2501fa keep track of the dates and html5player versions of working YT signature algos 12 years ago
Filippo Valsorda 23300d7149 a new day, a new s algo - fix #946 12 years ago
Philipp Hagemeister f5756f388a Check in signature generator 12 years ago
Philipp Hagemeister ea93cce4f6 Directly call update_latest 12 years ago
Philipp Hagemeister 3b58c6fb54 Update latest files on release 12 years ago
Philipp Hagemeister ead28ff30a Make upload atomic (#925) 12 years ago
Philipp Hagemeister 964ac8b584 Fix release script once more 12 years ago
Philipp Hagemeister d3a8613b6e Improve test skipping functionality 12 years ago
Philipp Hagemeister 200b388752 Correct comparison test 12 years ago
Philipp Hagemeister d71cae62cc allow skipping tests when releasing
(YouTube Subtitles are currently flaky in Germany, especially via IPv6)
12 years ago
Philipp Hagemeister fcfa188548 Show which IEs are slow during release 12 years ago
Ricardo Garcia 43ff1a347d Change rg3.github.com to rg3.github.io almost everywhere 12 years ago
Philipp Hagemeister fbbdf475b1 Different feed file name 12 years ago
Philipp Hagemeister c238be3e3a Correct feed title 12 years ago
Jaime Marquínez Ferrándiz 6060788083 Write a new feed each time, reading from versions.json 12 years ago
Jaime Marquínez Ferrándiz db74c11d2b Add an Atom feed generator in devscripts 12 years ago
Philipp Hagemeister f636c34481 Stop early in nosetests (in release script) 12 years ago
Philipp Hagemeister a72b0f2b6f Use proper echo commands 12 years ago
Philipp Hagemeister 434eb6f26b Include man and bash completion in PyPi release 12 years ago
Philipp Hagemeister ccb0cae134 Fix automatic release (oops) 12 years ago
Philipp Hagemeister 450a30cae8 Add PyPi upload to release script 12 years ago
Philipp Hagemeister 4da769ccca Do not backup version.py (under version control and frankly, not that complex) 12 years ago
Philipp Hagemeister 253d96f2e2 Force build removal 12 years ago
Philipp Hagemeister 3b83bf8f6a correct pushes in release script 12 years ago
Philipp Hagemeister 51719893bf Default to py3 in sign-versions 12 years ago
Philipp Hagemeister 1841f65e64 Python 2-proof versions.py 12 years ago
Philipp Hagemeister bb28998920 fix location of updates_key in devscripts/release 12 years ago
Philipp Hagemeister 09f9552b40 Less git acrobatics in devscripts/release.sh 12 years ago
Philipp Hagemeister 0aa3068e9e Do not check in test_coverage 12 years ago
Philipp Hagemeister db2d6124b1 correct quoting 12 years ago
Philipp Hagemeister 55e286ba55 read -n is bash-specific 12 years ago
Philipp Hagemeister 431d88dd31 Also generate SHA2-256 12 years ago
Philipp Hagemeister 876f1a86af Also publish hashsums 12 years ago
Filippo Valsorda 6e3dba168b release.sh edits based on 2013.01.02 experience 12 years ago
Filippo Valsorda b962b76f43 re-worked release workflow, it is one-step and creates GPG signatures now 12 years ago
Filippo Valsorda 067f6a3536 moved docs and updates generation scripts from gh-pages branch to devscripts 12 years ago
Filippo Valsorda cb6ff87fbb The new updates system, relies on gh-pages, secured by RSA, uses external web servers 12 years ago
gcmalloc a4680a590f changing the template file extension 12 years ago
Filippo Valsorda c7287a3caf ATTENTION DO NOT USE THESE: new binaries in the Downloads section
placed fake binaries that update themselves where old versions updating will search for the new version
12 years ago
Filippo Valsorda 4c1d273e88 it's curious but bash-completion is with - and not _ 12 years ago
gcmalloc a9d2f7e894 making the script compatible with python3 12 years ago
gcmalloc 682407f2d5 little correction on the readme 12 years ago
gcmalloc bdff345529 adding a proper bash-completion generation 12 years ago
Filippo Valsorda 4bb028f48e devscripts/make_readme.py in place of all that sedding, that has porting problems 12 years ago
grimreaper d51d784f85 There is nothing bash specific here
/bin/bash is always wrong. Since there is nothing bash specific here, switch to /bin/sh
12 years ago
Filippo Valsorda 225dceb046 moved make release to devscripts/release.sh 12 years ago
Filippo Valsorda 9e6dd23876 merged unescapeHTML branch; removed lxml dependency 13 years ago
Filippo Valsorda - Campagna c6306eb798 wine-py2exe.sh to create the exe under linux (!!) 13 years ago
Philipp Hagemeister fefb166c52 Leave out characters the filesystem cannot encode (Closes: #264) 13 years ago