Commit Graph

853 Commits (5d3a51e1b939ada71b3ec6ae7e004ccb6e0861c4)

Author SHA1 Message Date
Jaime Marquínez Ferrándiz 8222d8de88 Split FileDownloader in two classes: FileDownloader and YoutubeDL
YoutubeDL is the class that coordinates everything
FileDownloader gets a filename and an info dict and downloads the video.
12 years ago
Philipp Hagemeister 825e0984e2 [break] adapt to new paths 12 years ago
Philipp Hagemeister d1cade5ade Correct module name 12 years ago
Philipp Hagemeister 0824c28c8b Remove mentions of old InfoExtractors module 12 years ago
Philipp Hagemeister b8a360837a Fix Statigram test 12 years ago
Philipp Hagemeister 51ce3a75c9 Improve error reporting for downloads 12 years ago
M.Yasoob Khalid 9b5fffb149 added an IE and test for break.com 12 years ago
Philipp Hagemeister 828dba2983 Improvge error reporting 12 years ago
Philipp Hagemeister 6b3f5a329b Improve Statigr.am IE 12 years ago
M.Yasoob Khalid 4fdd4e6f6f added test for Statigr 12 years ago
Jaime Marquínez Ferrándiz f4c8bbcfc2 TEDIE: download the best quality video and use the new _search_regex functions
Also extracts the description.
12 years ago
Jaime Marquínez Ferrándiz 377fdf5dde Update the TumblrIE: the video is no longer available 12 years ago
Jaime Marquínez Ferrándiz 213b715893 Merge pull request #887 from anisse/master
Fetch all entries that are in a youtube playlist

Also add a test.
12 years ago
Filippo Valsorda 8bc7c3d858 Merge branch 'search_regex' - PR #872 - closes #847 12 years ago
Jaime Marquínez Ferrándiz 36ed7177f0 Fix HypemIE test: the song name has been changed 12 years ago
Jaime Marquínez Ferrándiz 32aa88bcae Add GametrailersIE 12 years ago
Jaime Marquínez Ferrándiz 31513ea6b9 Update test_issue_673 in Youtube Lists
Some videos have been removed.
Delete the title check, it's not the purpose of that test.
12 years ago
Jaime Marquínez Ferrándiz 9abc6c8b31 Update YahooIE test
The old test video is no longer available.
12 years ago
Filippo Valsorda ee55fcbe12 switch long info_dict fields checking to md5 12 years ago
Filippo Valsorda 78d3442b12 test: extend the reach of info_dict checking
* print the info_dict in a format suitable to easy adding to tests.json during tests if un-tested fields are detected
* make it possible to put the crc32 in tests.json if the field is too long
* complete the "info_dict" fields in existing tests
* fixed the bugs catched doing this
12 years ago
Filippo Valsorda 979a9dd4c4 _html_search_regex with clean_html superpowers 12 years ago
M.Yasoob Khalid ecb3e676a5 Added Vbox7 Infoextractor 12 years ago
Filippo Valsorda be95cac157 raise exceptions on warnings during tests - and solve a couple of them 12 years ago
Filippo Valsorda 476203d025 print WARNINGs during test + minor fix to NBAIE 12 years ago
M.Yasoob Khalid 157b864a01 added HypemIE
rebased, closes PR #871
12 years ago
Filippo Valsorda 951b9dfd94 Merge pull request #866 from yasoob/master
Added support for XHamster - closes #841
12 years ago
M.Yasoob Ullah Khalid c978a96c02 Added test for XHamster.com 12 years ago
Clément DAVID 57bde0d9c7 Fix the test_all_urls (Import issue) 12 years ago
Clément DAVID 50b4d25980 Merge within test_all_urls 12 years ago
Clément DAVID 4a76d1dbe5 Add tests for justin.tv and twitch.tv 12 years ago
Jaime Marquínez Ferrándiz dc1c355b72 YoutubeIE: fallback to automatic captions when subtitles aren't found (closes #843)
Also modify test_youtube_subtitles to support running the tests in any order.
12 years ago
Jaime Marquínez Ferrándiz 45014296be Add TeamcocoIE (closes #212) 12 years ago
Anna Bernardi afef36c950 add support for Flickr videos - closes #261 12 years ago
Jaime Marquínez Ferrándiz 17bd1b2f41 VineIE: extract more information and minor style changes 12 years ago
Anna Bernardi 5b0d3cc0cd Add support for Vine - closes #845 12 years ago
Filippo Valsorda d4f76f1674 Add support for Howcast.com - closes #835 12 years ago
Jaime Marquínez Ferrándiz 340fa21198 UstreamIE: get thumbnail and uploader name 12 years ago
Jaime Marquínez Ferrándiz 59f4fd4dc6 YahooIE: remove old code and accept screen.yahoo.com videos (#300)
Videos require rtmpdump
12 years ago
Philipp Hagemeister 86fd453ea8 Merge remote-tracking branch 'origin/master' 12 years ago
Philipp Hagemeister c83411b9ee Skip bandcamp tests for now - free limit has been exceeded 12 years ago
Jaime Marquínez Ferrándiz 057c9938a1 Import FileDownloader in test_youtube_subtitles
Fix last commit
12 years ago
Jaime Marquínez Ferrándiz 9259966132 test_youtube_subtitles: FakeDownloader inherits form FileDownloader 12 years ago
julien 7f5bd09baf Add support to www.ina.fr 12 years ago
Jaime Marquínez Ferrándiz d96680f58d PhotobucketIE: accept new format of urls and add a test 12 years ago
Philipp Hagemeister 09dd418f53 Experimentally whitelist Escapist test 12 years ago
Philipp Hagemeister c34407d16c Simplify RedTube 12 years ago
M.Yasoob Ullah Khalid 815dd2ffa8 Redtube test now works
I just did a little makeover by changing redtube tests. Now they are passed.
12 years ago
M.Yasoob Ullah Khalid b86174e7a3 added test for redtube.com
I just added the test for redtube.com
12 years ago
Jaime Marquínez Ferrándiz 46bfb42258 InfoExtractors: use _download_webpage in more IEs
IEs without tests are intact.
12 years ago
Jaime Marquínez Ferrándiz 104ccdb8b4 TumblrIE: fix title matching 12 years ago
Jaime Marquínez Ferrándiz aed523ecc1 Add BandcampIE (closes #568) 12 years ago
Jaime Marquínez Ferrándiz 34c29ba1d7 Add test for SoundcloudSet 12 years ago
Philipp Hagemeister 8749b71273 Fix FakeDownloaders 12 years ago
Jaime Marquínez Ferrándiz ba7c775a04 Remove a commented line I forgot.
[ci skip]
12 years ago
Philipp Hagemeister 9665577802 Adapt tests to changes in youtube's "Most Popular" channel 12 years ago
Jaime Marquínez Ferrándiz 37254abc36 Allow to use relative dates in the format (now|today)[+-][0-9](day|week|month|year)(s)? (Closes #137)
Also fix DateRange not accepting ranges of one day.
12 years ago
Jaime Marquínez Ferrándiz bf50b0383e Fix some IEs that didn't return the uploade_date in the YYYYMMDD format
Create a function unified_strdate in utils.py to fix these problems
12 years ago
Jaime Marquínez Ferrándiz bd55852517 Allow to select videos to download by their upload dates (related #137)
Only absolute dates.
12 years ago
Jaime Marquínez Ferrándiz aba8df23ed YoutubePlaylistIE: don't crash with empty lists (related #808)
The playlist_title wasn't initialized.
12 years ago
Jaime Marquínez Ferrándiz c15e024141 TumblrIE
I haven't found many videos to test, so it may not work for all.
12 years ago
Jaime Marquínez Ferrándiz c72938240e Get the title of Youtube playlists 12 years ago
Jaime Marquínez Ferrándiz 9341212642 Create a function in InfoExtractors that returns the InfoExtractor class with the given name 12 years ago
Jaime Marquínez Ferrándiz 49da66e459 The test video for subtitles has added a new language 12 years ago
ispedals fb6c319904 Add tests for YoutubeChannelIE
- tests for identifying channel urls
- test retrieval of paginated channel
- test retrieval of autogenerated channel
12 years ago
Jaime Marquínez Ferrándiz dce9027045 Merge branch 'extract_info_rewrite' 12 years ago
Philipp Hagemeister 744435f2a4 Show whole diff in error cases 12 years ago
Philipp Hagemeister 0ba994e9e3 Skip ARD test as it requires rtmpdump 12 years ago
Philipp Hagemeister af9ad45cd4 Re-enable Stanford OC test 12 years ago
Philipp Hagemeister b03d65c237 Minor improvements for ARD IE 12 years ago
Jaime Marquínez Ferrándiz 14294236bf Merge branch 'master' into extract_info_rewrite 12 years ago
Filippo Valsorda 90a99c1b5e retry on UnavailableVideoError 12 years ago
Filippo Valsorda f375d4b7de import all IEs when testing to resemble more closely the real env 12 years ago
Filippo Valsorda e3700fc9e4 Merge pull request #736 from rg3/retry
Exception stacking and test retry
12 years ago
Filippo Valsorda 46b9d8295d Merge pull request #730 by @JohnyMoSwag
Support for Worldstarhiphop.com
12 years ago
Filippo Valsorda 0cd358676c Rebased, fixed and extended LiveLeak.com support
close #757 - close #761
12 years ago
Johny Mo Swag 44e939514e Added test for WorldStarHipHop 12 years ago
Jaime Marquínez Ferrándiz cfa90f4adc Merge branch 'master' into extract_info_rewrite 12 years ago
Filippo Valsorda 5cb3c0b319 Merge pull request #699 by @iemejia
Removed innecesary function to convert subtitles, improved use of the youtube api
12 years ago
Ismael Mejia 2a4093eaf3 Added new option '--list-subs' to show the available subtitle languages 12 years ago
Ismael Mejia 9e62bc4439 Added new option '--sub-format' to choose the format of the subtitles to downloade (defaut=srt) 12 years ago
Ismael Mejia ae608b8076 Added new option '--all-srt' to download all the subtitles of a video.
Only works in youtube for the moment.
12 years ago
Philipp Hagemeister e32b06e977 Spiegel IE 12 years ago
Filippo Valsorda 8cc83b8dbe Bubble up all the stack of exceptions and retry download tests on timeout errors 12 years ago
Philipp Hagemeister 3d3423574d Fix Unicode handling GenericIE (Fixes #734) 12 years ago
Jaime Marquínez Ferrándiz 8a38a194fb Add auxiliary methods to InfoExtractor to set the '_type' key and use them for some playlist IEs 12 years ago
Jaime Marquínez Ferrándiz 597cc8a455 Use extract_info in YoutubePlaylist and YoutubeSearch 12 years ago
Philipp Hagemeister a2ae43a55f Remove changed playlist test (#661) 12 years ago
Philipp Hagemeister 7ae153ee9c Remove tweetreel - it has shut down 12 years ago
Philipp Hagemeister acb8752f80 fix tests in Python3, and make them parallelizable 12 years ago
Philipp Hagemeister 679790eee1 Do not user upper-case for non-constants 12 years ago
Filippo Valsorda 89de9eb125 Modified Youtube video/playlist matching; fixes #668; fixes #585 12 years ago
Filippo Valsorda 6324fd1d74 Switch YTPlaylistIE to API (relevant: #586); fixes #651; fixes #673; fixes #661 12 years ago
Philipp Hagemeister cb99797798 Test TED thumbnail 12 years ago
Ismael Mejia cdb130b09a Added new option '--only-srt' to download only the subtitles of a video
Improved option '--srt-lang'
 - it shows the argument in case of missing subtitles
 - added language suffix for non-english languages (e.g. video.it.srt)
12 years ago
Ismael Mejia 2e5d60b7db Removed conversion from youtube closed caption format to srt since youtube api supports the 'srt' format 12 years ago
Philipp Hagemeister 58994225bc Add tests to MySpass 12 years ago
Jaime Marquínez Ferrándiz 3a468f2d8b Basic support for TED 12 years ago
Philipp Hagemeister f0877a445e Add tests for keek 12 years ago
Philipp Hagemeister 3a9918d37f Escapist continues to be flaky on travis 12 years ago
Philipp Hagemeister b47bbac393 Disable Stanford OC test for now, and enable escapist 12 years ago
Philipp Hagemeister 233a22960a Switch ComedyCentral test to a permanent URL (They delete full episodes older than a month) 12 years ago
Philipp Hagemeister da4de959df 8tracks: Better default titles 12 years ago
Philipp Hagemeister d0d51a8afa 8tracks: Include performer as uploader 12 years ago
Philipp Hagemeister ccf65f9dee 8tracks IE (Closes #652) 12 years ago
Philipp Hagemeister b954070d70 Fix Facebook (Closes #375) 12 years ago
Philipp Hagemeister 30e9f4496b Drop md5: spec for now (unused and breaks int values) 12 years ago
Philipp Hagemeister bffbd5f038 Download progress hooks 12 years ago
Philipp Hagemeister d8bbf2018e Aggressive test timeout to catch hanging servers 12 years ago
Philipp Hagemeister ca0a0bbeec RBMA IE (Closes #630) 12 years ago
Philipp Hagemeister 6017964580 Merge remote-tracking branch 'jefftimesten/master' 12 years ago
Jeff Crouse 9450bfa26e fixed tests (used the --test option) so that they pass. go figure 12 years ago
Jeff Crouse 18be482a6f oops - didn't remove some reminders 12 years ago
Jeff Crouse ca6710ee41 made changes recommended in pull request 12 years ago
Philipp Hagemeister 7717ae19fa Add tests for ComedyCentral IE 12 years ago
Philipp Hagemeister 3a648b209c Remove .part files before and after tests 12 years ago
Philipp Hagemeister 511eda8eda add test for infoq 12 years ago
Philipp Hagemeister c073e35b1e Simplify test parameter initialization 12 years ago
Philipp Hagemeister 5c892b0ba9 Adapt test_download to support playlists, and remove race conditions 12 years ago
Philipp Hagemeister 6985325e01 Revert "In tests.json file and md5 join in a 'files' list to handle multiple-file IEs"
This made the JSON structure really unreadable and was a quick fix.

This reverts commit 6535e9511f.
12 years ago
Philipp Hagemeister 911ee27e83 typo 12 years ago
Jaime Marquínez Ferrándiz 278986ea0f ustreamIE 12 years ago
Filippo Valsorda 6535e9511f In tests.json file and md5 join in a 'files' list to handle multiple-file IEs 12 years ago
Jaime Marquínez Ferrándiz deb594a9a0 Test for steam 12 years ago
Filippo Valsorda 0214ce7c75 Ok, the Escapist test was passing only in my Travis repo, do not ask me why; also, a small bugfix to the latest commit 12 years ago
Filippo Valsorda 95fedbf86b three small edits
* ask for a --verbose log when reporting bugs in README.md
* re-enable Escapist test, seems stable now
* check that we are not downloading multiple videos when the template is fixed (NOT a complete fix: not detecting playlists)
12 years ago
Philipp Hagemeister 3bb6165927 Allow ampersand right after ? in youtube URLs (Closes #602) 12 years ago
Philipp Hagemeister d0d4f277da TweetReel IE 12 years ago
Philipp Hagemeister a7c0f8602e Merge branch 'master' of github.com:rg3/youtube-dl 12 years ago
Philipp Hagemeister 21a9c6aaac FunnyOrDie IE (Fixes #599) 12 years ago
Filippo Valsorda 162e3c5261 Temporary skip Escapist test as it fails only on Travis; we'll make a more specific workaround later if we can't fix it 12 years ago
Filippo Valsorda 6b3aef80ce better Vimeo tests; fixed a couple of VimeoIE fields 12 years ago
Filippo Valsorda 77c4beab8a new info_dict field: uploader_id 12 years ago
Filippo Valsorda 0eaf520d77 add info_dict testing to test_download 12 years ago
Philipp Hagemeister 314d506b96 Do not use deprecated method 12 years ago
Philipp Hagemeister af42895612 Extend json info data / description file test 12 years ago
Philipp Hagemeister 3cc687d486 test write_info_json 12 years ago
Philipp Hagemeister 77bd7968ea Switch test to metacafe.com, whose DNS seems to be fine atm 12 years ago
Filippo Valsorda 937021133f a number of new tests and fixes; all tests green on 3.3 12 years ago
Filippo Valsorda 5e5ddcfbcf test subtitles 12 years ago
Philipp Hagemeister b375c8b946 Tests for justin.tv 12 years ago
Philipp Hagemeister 4cc3d07426 NBA IE (Closes #590) 12 years ago
Philipp Hagemeister 5d01a64719 Revert "Don't be too clever"
This reverts commit a276e06080.
12 years ago
Philipp Hagemeister a276e06080 Don't be too clever 12 years ago
Filippo Valsorda fd5ff02042 streamlined and simplified dynamic tests generation; readded a couple of test features 12 years ago
Filippo Valsorda 2b5b2cb84c Merge remote-tracking branch 'gcmalloc/master' into fork_master 12 years ago
gcmalloc 1535ac2ae9 test automation 12 years ago
Philipp Hagemeister 2c6945be30 Fix TestYoutubeLists.test_youtube_user 12 years ago
Philipp Hagemeister 9a6f4429a0 Fix test selection in Python 2.6 12 years ago
Filippo Valsorda 9789a05c20 fix playlist pagination and add YT playlist tests (closes #569) 12 years ago
Filippo Valsorda 4fb1acc212 use the new --test option to speed up tests (fetch only first 10K)
now all tests working and passing
12 years ago
Filippo Valsorda d3d3199870 gentests: allow test-specific FileDownloader params override from tests.json 12 years ago
Filippo Valsorda 1ca63e3ae3 the test didn't load our Gzip opener
this was blocking the Vimeo test

+ some more gentest fixes
12 years ago
Philipp Hagemeister 863baa16ec SoundCloud IDs have changed, fix tests 12 years ago
Philipp Hagemeister e387eb5aba Let youtube IE handle IDs starting with PL (Closes #572) 12 years ago
Philipp Hagemeister 4083bf81a0 Correct metacafe test filename (happens to start with an underscore) 12 years ago
Philipp Hagemeister 796173d08b Keep video IDs verbatim if possible (Closes #571) 12 years ago
Philipp Hagemeister e575b6821e Improve execution tests 12 years ago
Philipp Hagemeister d78be7e331 Add test for Youku (Mentioned in #314) 12 years ago
Philipp Hagemeister e91d2338d8 Fix MD5 calculation 12 years ago
Philipp Hagemeister 8af4ed7b4f Fix 2.6 nosetests 12 years ago
Philipp Hagemeister 8176041605 Check during test runtime instead of test generation for _WORKING, and add 2.6 compat 12 years ago
Philipp Hagemeister cdab8aa389 Update download tests 12 years ago
Philipp Hagemeister 627dcfff39 Restrict more characters (Closes #566) 12 years ago
Philipp Hagemeister 59ae15a507 Convert all tabs to 4 spaces (PEP8) 12 years ago
Philipp Hagemeister be0f77d075 test import 12 years ago
Philipp Hagemeister 8cd10ac4ef Fix printing title etc. 12 years ago
Philipp Hagemeister dae7c920f6 Make test_utils.py run on Python 3 12 years ago
Philipp Hagemeister dffe658bac Remove exclamation mark in --restrict-filenames mode 12 years ago
Philipp Hagemeister 1a911e60a4 Add test for asian characters (#551) 12 years ago
Philipp Hagemeister 46cbda0be4 Minor filename encoding improvement in a common case 12 years ago
Philipp Hagemeister c7032546f1 Clean up test 12 years ago
Philipp Hagemeister 56781d3d2e Switch back to underline for invalid characters, and make restricted ASCII-only 12 years ago
Philipp Hagemeister 9fb3bfb45a Merge remote-tracking branch 'gcmalloc/master' 12 years ago
Philipp Hagemeister 1c469a9480 New optoin --restrict-filenames 12 years ago
Philipp Hagemeister 156a59e7a9 Additional tests in file name sanitation 12 years ago
Filippo Valsorda 42cb53fcfa modified filename escaping to a "smarter" one 12 years ago
gcmalloc a8ac2f8664 adding second vimeo url 12 years ago
gcmalloc fb0e99b884 skipping vimeo for the moment 12 years ago
gcmalloc 9c6e9a4532 adding xnxx test 12 years ago
gcmalloc 67af74992e adding collegehumor test 12 years ago
gcmalloc 103c508ffa adding stanford open class courses 12 years ago
gcmalloc 2876773381 adding test for vimeo, xvideo and soundcloud 12 years ago
gcmalloc 591bbe9c90 changing test from md5 to filesize, the file changed between download 12 years ago
gcmalloc fc7376016c cleaning the test that doesn't work with the api for the moment 12 years ago
gcmalloc 97a37c2319 some assertion on the file downloaded 12 years ago
gcmalloc 3afed78a6a removing testing video 12 years ago
gcmalloc 4279a0ca98 correcting test to be compatible with python2.6 12 years ago
gcmalloc 7f60b5aa40 correction on the test 12 years ago
gcmalloc 4c9afeca34 adding xvideo 12 years ago
gcmalloc 6da7877bf5 adding facebook test 12 years ago
gcmalloc b4e5de51ec adding photobucket test 12 years ago
gcmalloc a4b5f22554 adding metacafe test 12 years ago
gcmalloc ff08984246 adding dailymotion test 12 years ago
gcmalloc 137c5803c3 some changes to keep the same standard 12 years ago
gcmalloc 0b4e98490b changing test video 12 years ago
gcmalloc 80a846e119 correction on the test for the utils.py 12 years ago
gcmalloc efe8902f0b adding download test with md5 check 12 years ago
gcmalloc 44fb345437 adding TestCase class and corresponding test 12 years ago
gcmalloc 9993976ae4 correction on the sanitize title method, change in title resulting 12 years ago
Philipp Hagemeister 74e716bb64 original test video 12 years ago
Philipp Hagemeister af8e8d63f9 Allow non-ASCII characters in simplified titles(Closes #220) 13 years ago
Philipp Hagemeister e092418d8b Simplify simplify_title 13 years ago
Philipp Hagemeister e33e3045c6 First tests 13 years ago