codesparkle
d2a242afa4
#Cleanup of youtube-dl/__init__.py
...
* the list of contributors is now in a separate file, `AUTHORS`. Why? Because this is meta-information which applies to the entire project, not just one particular module. Also, this file can and should be extended to indicate the authors' different roles (owner, maintainer, contributor, etc). Many successful projects follow this layout, e.g. [django](https://github.com/django/django/blob/master/AUTHORS ) and [Swift](https://github.com/openstack/swift ). We should adopt it as well.
* Argument parsing has been extracted to `configuration.py` and the names have been changed to follow PEP-8. Unnecessarily complicated boolean conditions have been simplified
* unused imports have been removed
## TESTING
I did my best not to introduce any bugs in the process, but it doesn't seem we have any tests at all for the command-line interface and option parsing, so this will require thorough review! I'm looking forward to any comments and improvements, and please let me know if I broke `devscripts/bash-completion.py` or not.
2014-05-26 21:05:25 +10:00
Sergey M․
cc5ada6f4c
[ivi] Update playlist tests
2014-05-26 00:16:10 +07:00
Sergey M․
dfb2e1a325
[nrktv] Add support for tv.nrk.no ( Closes #2980 )
2014-05-25 07:14:18 +07:00
Sergey M.
65bab327b4
Merge pull request #2953 from codesparkle/ndr-regexes-escape-correctly
...
[ndr] fix regexes containing illegal characters
2014-05-25 05:42:06 +07:00
Sergey M.
9eeb7abc6b
Merge pull request #2960 from codesparkle/fix-test-format-note-regex
...
[test] fixed typo in test_format_note (test_YoutubeDL)
2014-05-25 05:36:03 +07:00
Sergey M․
c70df21099
[streamcz] Workaround CertificateError
2014-05-25 05:32:19 +07:00
Sergey M․
418424e5f5
[streamcz] Use compat_str
2014-05-25 05:30:15 +07:00
Sergey M.
8477466125
Merge pull request #2979 from pulpe/streamcz_fix
...
[StreamCZ] correct video id + add test
2014-05-25 05:28:49 +07:00
pulpe
865dbd4a26
[StreamCZ] correct video id + add test
2014-05-24 16:01:37 +02:00
Sergey M․
b1e6f55912
[empflix] Fix extraction
2014-05-24 01:06:03 +07:00
Sergey M․
4d78f3b770
[pornhub] Fix uploader extraction
2014-05-24 00:44:34 +07:00
Sergey M․
7f739999e9
[swrmediathek] Extract direct links from JSON and add support for audio files
2014-05-23 21:04:21 +07:00
Sergey M․
0f8a01d4f3
[swrmediathek] Simplify
2014-05-22 19:35:46 +07:00
Sergey M.
e2bf499b14
Merge pull request #2944 from pulpe/SWRMediathek
...
[SWRMediathek] add support for swrmediathek.de (fixes #2929 )
2014-05-22 19:30:09 +07:00
Sergey M․
eec4d8ef96
[gamekings] Update test description
2014-05-21 19:53:58 +07:00
codesparkle
1c783bca88
fixed (what I assume was a typo) that caused test_format_note to always fail.
...
This test was introduced in c57f7757101690681af2eb8c40c8bf81bbe6e64f.
2014-05-21 18:03:17 +10:00
Philipp Hagemeister
ac73651f66
Merge pull request #2940 from codesparkle/remove-unused-files
...
Remove old, unused CHANGELOG and LATEST_VERSION files
2014-05-21 08:33:13 +02:00
codesparkle
e5ceb3bfda
Bringing back LATEST_VERSION
2014-05-21 00:55:54 +10:00
Sergey M․
c2ef29234c
Credit @codesparkle for #2928 , #2934 , #2938 , #2939
2014-05-20 20:12:57 +07:00
Sergey M.
1a1826c1af
Merge pull request #2939 from codesparkle/upload-date-fix
...
No longer erroneously calculate upload_date within some extractors
2014-05-20 19:53:28 +07:00
Sergey M․
c7c6d43fe1
Merge branch 'codesparkle-bandcamp-albums-regex-duplicate-fix'
2014-05-20 19:45:28 +07:00
Sergey M․
2902d44f99
[bandcamp] Replace maxsplit keyword argument with regular one
...
Named arguments are not supported by methods implemented in native C (see http://bugs.python.org/issue1176 )
2014-05-20 19:44:42 +07:00
Sergey M․
d6e4ba287b
Merge branch 'bandcamp-albums-regex-duplicate-fix' of https://github.com/codesparkle/youtube-dl into codesparkle-bandcamp-albums-regex-duplicate-fix
2014-05-20 19:38:28 +07:00
Philipp Hagemeister
f50ee8d1c3
Merge branch 'master' of github.com:rg3/youtube-dl
2014-05-19 17:10:19 +02:00
Philipp Hagemeister
0e67ab0d8e
[generic] Abort if user passes in URL "url" ( #2942 )
2014-05-19 17:10:11 +02:00
codesparkle
77541837e5
The opening curly brace, '{', is a regex reserved control character, so it needs to be escaped (see http://stackoverflow.com/a/400316/1106367 )
...
Minor improvements:
no need to sort the whole list if all we need is the maximum element, also instead of reinventing the wheel we can use utils to get indices from qualities.
2014-05-19 22:17:54 +10:00
Sergey M․
e3a6576f35
[nowness] Update test file md5 and modernize
2014-05-19 19:05:18 +07:00
Philipp Hagemeister
89bb8e97ee
release 2014.05.19
2014.05.19
2014-05-19 11:42:37 +02:00
pulpe
375696b1b1
[SWRMediathek] add support for swrmediathek.de
2014-05-18 14:56:35 +02:00
Sergey M․
4ea5c7b70d
[ndr] Improve thumbnail extraction
2014-05-18 14:23:02 +07:00
Sergey M․
8dfa187b8a
[generic] Support pagespeed_iframe for NovaMov embeds
2014-05-17 18:12:12 +07:00
Sergey M․
c1ed1f7055
[ndr] Fix title, description and duration extraction
2014-05-17 18:11:40 +07:00
Sergey M․
1514f74967
[ndr] Fix thumbnail extraction
2014-05-17 17:58:37 +07:00
codesparkle
2e8323e3f7
CHANGELOG and LATEST_VERSION seem to serve no purpose at all. They haven't been changed in years. Unless these are actually used somewhere, let's get rid of them.
2014-05-17 17:07:50 +10:00
codesparkle
69f8364042
removed duplicate and somemtimes incorrect logic for parsing upload date as this job is already taken care of automatically by YoutubeDL.py
2014-05-17 15:21:46 +10:00
codesparkle
79981f039b
Fixed test failure in test_all_urls: test_no_duplicates: BandcampAlbumIE inappropriately matched non-album bandcamp links as well.
...
BandcampIE changed to report full-accuracy duration instead of unnecessarily rounding it to the nearest integer.
Simplified conditionals and parsing a bit. Fixed typos.
2014-05-17 14:22:24 +10:00
Philipp Hagemeister
91994c2c81
release 2014.05.17
2014.05.17
2014-05-17 00:17:40 +02:00
Jaime Marquínez Ferrándiz
76e92371ac
[youtube] Recognize a second format of the upload_date in the 'watch-uploader-info' element ( #2911 )
2014-05-16 22:12:52 +02:00
Jaime Marquínez Ferrándiz
08af0205f9
Merge remote-tracking branch 'codesparkle/fix-photobucket-url' ( closes #2934 )
...
Fix photobucket url extraction
2014-05-16 20:44:52 +02:00
codesparkle
a725fb1f43
test_download works for photobucket after this change
2014-05-17 03:25:41 +10:00
Jaime Marquínez Ferrándiz
05ee2b6dad
[youtube] Fix extraction of the feed 'paging' values ( fixes #2925 )
2014-05-16 16:01:13 +02:00
Philipp Hagemeister
b74feacac5
release 2014.05.16.1
2014.05.16.1
2014-05-16 15:53:17 +02:00
Philipp Hagemeister
426b52fc5d
Merge remote-tracking branch 'origin/master'
2014-05-16 15:52:01 +02:00
Philipp Hagemeister
5c30b26846
[francetv] Add support for non-numeric video IDs ( Fixes #2927 )
2014-05-16 15:51:01 +02:00
Philipp Hagemeister
f07b74fc18
[ffmpeg] Correct argument encoding on Windows with Python 2.x
...
Fixes #2924
2014-05-16 15:47:56 +02:00
Sergey M․
a5a45015ba
[generic] Fix redirect
2014-05-16 20:32:53 +07:00
Philipp Hagemeister
beee53de06
[youtube] Look for published-on date if uploaded-on is not found
...
Fixes #2911
2014-05-16 13:21:44 +02:00
Philipp Hagemeister
8712f2bea7
release 2014.05.16
2014.05.16
2014-05-16 12:04:52 +02:00
Philipp Hagemeister
ea102818c9
Merge remote-tracking branch 'origin/master'
2014-05-16 12:04:24 +02:00
Philipp Hagemeister
0a871f6880
Provide compatibility check_output for 2.6 ( Fixes #2926 )
2014-05-16 12:03:59 +02:00