Commit Graph

57 Commits (b764dbe7730bc5b0a4f30f4f89fd85e096d0c4a0)

Author SHA1 Message Date
dirkf 7a497f1405 Rework 2c2c2bd with an actual Mix page and realistic playlist size
From 2c2c2bd348 (commitcomment-65953545)
3 years ago
df 39ca35e765 Fix test_youtube_flat_playlist_extraction 3 years ago
df d76d59d99d Remove obsolete non-working test_youtube_toptracks 3 years ago
df 2c2c2bd348 Fix test_youtube_mix 3 years ago
df 46e0a729b2 Remove obsolete test_youtube_course 3 years ago
df 57044eaceb Fix test_youtube_playlist_noplaylist 3 years ago
PrinceOfPuppers 70baa7bfae
[test_youtube_lists] Actualize youtube flat playlist test (closes #28045) 4 years ago
Dan Salmon 518d5ba519 Fix some tests 7 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
Jaime Marquínez Ferrándiz 1b6182d8f7 [youtube:playlist] Fetch all the videos in a mix (fixes #3837)
Since there doesn't seem to be any indication, it stops when there aren't new videos in the webpage.
9 years ago
Yen Chi Hsuan a7aab0c23e [test_youtube_lists] Fix TestYoutubeLists.test_youtube_course
Youtube entries are now generators
9 years ago
Sergey M․ 8e5b121948 [test_youtube_lists] Add test flat playlist entries' titles 9 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
Jouke Waleson 8bcc875676 PEP8: more applied 10 years ago
Jouke Waleson 5f6a1245ff PEP8 applied 10 years ago
Philipp Hagemeister cdc628a498 [youtube] Move more tests to extractors 10 years ago
Philipp Hagemeister 9291475f7d [youtube] Move more tests to Playlist IE, and simply suitable. 10 years ago
Jaime Marquínez Ferrándiz 24577db241 [test/test_youtube_lists] Replace mix list
The old video doesn't have a mix anymore.
11 years ago
Philipp Hagemeister c9ae7b9565 [youtube] Add support for search result URLs (Fixes #2495) 11 years ago
Jaime Marquínez Ferrándiz ea5a0be811 Skip youtube toptracks test
All the playlists return 500 errors.
11 years ago
Philipp Hagemeister 9766538124 [jadorecettepub] Add extractor (Fixes #2148) 11 years ago
Jaime Marquínez Ferrándiz d67cc9fa7c [youtube:playlist] Recognize ‘top tracks’ urls (closes #2332)
The list parameter starts with ‘MC’ and can have more characters after it, including dots
11 years ago
Jaime Marquínez Ferrándiz 48f9678a32 [test/youtube_lists] Change the list used for testing the Top Lists extractor
The ‘Top tracks’ list is not always present in the channel page
11 years ago
Philipp Hagemeister 977887469c Lower number of expected entries in top list 11 years ago
Jaime Marquínez Ferrándiz 0a688bc0b2 [youtube] Add support for downloading top lists (fixes #1868)
It needs to know the channel and the title of the list, because the ids change every time you browse the channels and are attached to a 'VISITOR_INFO1_LIVE' cookie.
11 years ago
Jaime Marquínez Ferrándiz 652cdaa269 [youtube:playlist] Add support for YouTube mixes (fixes #1839) 11 years ago
Philipp Hagemeister d0efb9ec9a [tests] Remove global_setup function 11 years ago
Philipp Hagemeister 7012b23c94 Match --download-archive during playlist processing (Fixes #1745) 11 years ago
Jaime Marquínez Ferrándiz dcbb45803f [youtube:playlist] Don't use the gdata api (closes #1508)
Parse the playlist pages instead
11 years ago
Jaime Marquínez Ferrándiz e772692ffd Fix an import in the tests and the Youtube Shows test 11 years ago
Philipp Hagemeister 44a5f1718a Simplify tests
* Make them directly executable again
* Move common stuff (md5, parameters) to helper
* Never import *
* General clean up
11 years ago
Filippo Valsorda d3f46b9aa5 Add support for single-test tox runs
Use a sintax like
    tox test.test_download:TestDownload.test_NowVideo
to run the specific test on all the tox environments (Python versions)
11 years ago
Filippo Valsorda 7c61bd36bb [youtube] correct --no-playlist for python3 11 years ago
Filippo Valsorda d4d9920a26 add test for --no-playlist 11 years ago
Jaime Marquínez Ferrándiz 75dff0eef7 [youtube]: add YoutubeShowIE (closes #14)
It just extracts the playlists urls for each season
12 years ago
Philipp Hagemeister 112da0a0ce Simplify FakeYDL 12 years ago
Jaime Marquínez Ferrándiz 8bf8b5a577 Use the new class in the tests 12 years ago
Philipp Hagemeister 0824c28c8b Remove mentions of old InfoExtractors module 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
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
Philipp Hagemeister 8749b71273 Fix FakeDownloaders 12 years ago
Philipp Hagemeister 9665577802 Adapt tests to changes in youtube's "Most Popular" channel 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 c72938240e Get the title of Youtube playlists 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 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 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