Commit Graph

151 Commits (0c9d288ba0db3c1309bc6090457e11375073f3eb)

Author SHA1 Message Date
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
Sergey M․ 4a5a67ca25 [devscripts/release.sh] Make ISSUE_TEMPLATE.md and commit it
Sergey M․ 3bf1df51fd [devscripts/make_issue_template] Rework to use ISSUE_TEMPLATE.tmpl (Closes )
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
Jakub Wilk dfb1b1468c Fix typos
Closes .
Yen Chi Hsuan bad84757eb [doc] Better formatting of youtube-dl.1 (closes )
Yen Chi Hsuan 95240b8093 Use `insert` for all sys.path manipulations
Closes .
Jaime Marquínez Ferrándiz 70a1165b32 Don't use bare 'except:'
They catch any exception, including KeyboardInterrupt, we don't want to catch it.
Jaime Marquínez Ferrándiz f9544f6e8f [test/aes] Test aes_decrypt_text with 256 bit
Jaime Marquínez Ferrándiz a7d9ded45d [test] Add tests for aes
Philipp Hagemeister 8fb3ac3649 PEP8: W503
Philipp Hagemeister ee623d9247 [descripts/release] Regenerate auxiliary documentation on build as well
Philipp Hagemeister d200b11c7e [Makefile] Simplify clean/cleanall
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)
Philipp Hagemeister 2bad0e5d20 [/__init__] Define public API
Philipp Hagemeister 416c7fcbce Add documentation about supported sites (Fixes )
Philipp Hagemeister b50e3bc67f [README] Add table of contents (Closes )
Philipp Hagemeister ccbfaa83b0 [devscripts/make_contributing] Switch to optparse (Fixes )
Philipp Hagemeister 13dcfd41bd [CONTRIBUTING.md] Remove the section about embedding; that is not applicable for youtube-dl contributors
Philipp Hagemeister e56190b378 [Makefile] Add CONTRIBUTING.md (Fixes )
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.
Philipp Hagemeister b74e86f48a Fix all PEP8 issues except E501
Philipp Hagemeister 380b822003 Remove outdated transition helper scripts
Jouke Waleson fab6d4c048 remove useless line, the result is never used
Jouke Waleson 9e1a5b8455 PEP8: applied even more rules
Jouke Waleson 2514d2635e PEP8: E225,E227
Jouke Waleson 8bcc875676 PEP8: more applied
Jouke Waleson 5f6a1245ff PEP8 applied
Xu Cheng 3b700f8d43 support zsh completion
Jaime Marquínez Ferrándiz 56d1912f1d Add a completion script generator for the fish shell
Philipp Hagemeister 11ab41658e [devscripts/release] Do not restore youtube-dl{,.exe} binaries
Philipp Hagemeister 63961d87a6 [devscripts/release] Do not commit CHANGELOG
Philipp Hagemeister 1800eeefed add prepare_manpage
Philipp Hagemeister d19bb9c0aa Split man and README (Fixes )
Philipp Hagemeister 4c0941853a [devscripts/release] Check version number
Philipp Hagemeister cc88b90ec8 [desvscripts/release] Bump the number of password tries to accomodate stubby-fingered @phihag
Jaime Marquínez Ferrándiz 4056ad8f36 Build and upload universal wheels to pypi
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.
Filippo Valsorda a45ea17042 Implement a different adult sites checking algorithm
Philipp Hagemeister 50144133c5 [release] Check for useless files before release
Jaime Marquínez Ferrándiz 1c0f31f9f7 [bash-completion] Complete filename if `—load-info` is given
Philipp Hagemeister 3e34db3170 More Atom feed improvements ()
Philipp Hagemeister 317d4edfa8 Improve Atom feed creation (Fixes )