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.
8 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