Alex Karabanov
c9bd65185c
[extractor/zenyandex] Fix extractors ( #3750 , #5268 )
...
Closes #3736
Authored by: lksj, puc9, pukkandan
Co-authored-by: puc9 <51006296+puc9@users.noreply.github.com>
2022-10-25 15:50:48 +05:30
pukkandan
d711839760
Update to ytdl-commit-e6a836d
...
[core] Make `--max-downloads ...` stop immediately on reaching the limit
e6a836d54c
2022-08-15 03:31:48 +05:30
pukkandan
f2e8dbcc00
[extractor, test] Basic framework for embed tests ( #4307 )
...
and split download tests so they can be more easily run in CI
Authored by: coletdjnz
2022-08-02 01:08:16 +05:30
pukkandan
ae61d108dd
[cleanup] Misc cleanup
2022-06-29 06:43:27 +05:30
pukkandan
14f25df2b6
[compat] Remove deprecated functions from core code
2022-06-25 00:14:12 +05:30
pukkandan
54007a45f1
[cleanup] Consistent style for file heads
2022-06-25 00:08:58 +05:30
pukkandan
ac66811112
[compat] Remove more functions
...
Removing any more will require changes to a large number of extractors
2022-06-25 00:08:55 +05:30
pukkandan
f0500bd1e4
[test] Fix `FakeYDL` signatures
...
Authored by: coletdjnz
2022-06-21 13:03:29 +05:30
pukkandan
6d1b34896e
Update to ytdl-commit-8a158a9
...
[NHK] Use new API URL
6508688e88
Closes #2337 , Closes #4063
2022-06-20 11:44:57 +05:30
pukkandan
f82711587c
[cleanup] Sort imports
...
Using https://github.com/PyCQA/isort
isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12 05:32:52 +05:30
pukkandan
86e5f3ed2e
[cleanup] Upgrade syntax
...
Using https://github.com/asottile/pyupgrade
1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`
Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
2022-04-12 05:32:51 +05:30
pukkandan
f46e2f9d92
Add key `requested_downloads` in the root `info_dict`
2022-01-03 19:41:08 +05:30
animelover1984
abafce59a1
[Niconico] Add Search extractors ( #672 )
...
Authored by: animelover1984, pukkandan
2021-08-28 07:07:13 +05:30
pukkandan
ad3dc496bb
Misc fixes - See desc
...
* Remove unnecessary uses of _list_from_options_callback
* Fix download tests - Bug from 6e84b21559
* Rename ExecAfterDownloadPP to ExecPP and refactor its tests
* Ensure _write_ytdl_file closes file handle on error - Potential fix for #517
2021-08-10 01:22:55 +05:30
pukkandan
243c57cfe8
[tests:download] Add batch testing for extractors
...
Use `test_YourExtractor_all` to invoke them
2021-08-07 21:17:06 +05:30
pukkandan
0855702f3f
[test:download] Support testing with `ignore_no_formats_error`
2021-08-02 03:47:31 +05:30
pukkandan
060ac76257
[test] Use `pytest` instead of `nosetests` ( #482 )
...
`nosetests` is no longer being maintained : https://github.com/nose-devs/nose/issues/1099
and will stop working in py 3.10 as can be seen in #480
2021-07-23 20:18:15 +05:30
felix
cc52de4356
[cleanup] Point all shebang to `python3` ( #372 )
...
Authored by: fstirlitz
2021-06-06 00:59:04 +05:30
pukkandan
6911e11edd
[test:download] Only extract enough videos for `playlist_mincount`
2021-05-18 18:08:55 +05:30
Pccode66
7a5c1cfe93
Completely change project name to yt-dlp ( #85 )
...
* All modules and binary names are changed
* All documentation references changed
* yt-dlp no longer loads youtube-dlc config files
* All URLs changed to point to organization account
Co-authored-by: Pccode66
Co-authored-by: pukkandan
2021-02-25 00:15:56 +05:30
Unknown
cefecac12c
[skip travis] renaming
...
to avoid using same folder when using pip install for example
2020-09-02 20:25:25 +02:00
squibbysquibby
655c410063
[test_download] Fix download tests for lazy extractors ( closes #13554 , closes #13757 )
2018-01-21 18:15:11 +07:00
Tithen-Firion
374560f018
[test_download] Fix order when testing file's md5
2017-04-27 22:27:34 +07:00
Sergey M․
364a69e8c6
[test_download] Fix testing playlists with single video and add comments
2017-04-11 00:01:02 +07:00
Sergey M․
60e5016199
[test_download] Remove unused import
2017-04-08 14:19:01 +07:00
Sergey M․
80b2fdf9ac
[test_download] Match info dicts against tests before matching info file
2017-04-08 14:10:12 +07:00
John Hawkinson
3bef10a50c
[test_download] typo in comment
2017-04-08 13:07:25 +07:00
John Hawkinson
a84da06f49
[test_download] Improve diagnostic on wrong 'id'
2017-04-08 13:07:25 +07:00
John Hawkinson
c6c22e984d
[test_download] Print additional IEs in summary output
2017-03-25 22:36:40 +08:00
Yen Chi Hsuan
8936f68a0b
[travis] Run tests in parallel
...
[test_download] Print test names in case of network errors
[test_download] Add comments for nose parameters
[test_download] Modify outtmpl to prevent info JSON filename conflicts
Thanks @jaimeMF for the idea.
[travis] Only download tests should be run in parallel
2017-02-19 21:26:35 +08:00
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
2016-11-17 19:45:42 +08:00
Jaime Marquínez Ferrándiz
65d49afa48
[test/test_download] Use extract_flat = 'in_playlist' for playlist items
...
Some playlist extractors return a 'url' result, which wouldn't be resolved.
2015-10-23 14:12:46 +02:00
Sergey M․
308cfe0ab3
[test_downloader] Respect --force-generic-extractor
2015-08-02 01:14:41 +06:00
Yen Chi Hsuan
880ee801cf
[tests] Allow multi_video to be tested as playlists
2015-04-19 19:08:37 +08:00
Philipp Hagemeister
4e980275b5
[test_download] Remove references to "file" in test definitions
2015-02-01 15:21:18 +01:00
Sergey M․
f74b341dde
expect_info_dict actual-expected argument consistency
2014-12-26 23:07:24 +06:00
Philipp Hagemeister
e075a44afb
[tests] Remove useless u prefixes
2014-11-26 13:07:32 +01:00
Jouke Waleson
5f6a1245ff
PEP8 applied
2014-11-23 20:41:03 +01:00
Philipp Hagemeister
a0f59cdcb4
[tests] Modernize
2014-11-16 15:17:48 +01:00
Jaime Marquínez Ferrándiz
ac35c26686
[tests] Don't auto init YoutubeDL
...
It would print the debug headers for each test.
And nose uses a StringIO object for stdout, which in python 2.x doesn't have the 'encoding' attribute.
2014-11-02 17:53:12 +01:00
Philipp Hagemeister
42f7d2f588
[test_download] Fix import
2014-11-02 11:46:12 +01:00
Philipp Hagemeister
f744c0f398
[test_download] Improve error message
2014-10-27 00:39:39 +01:00
Philipp Hagemeister
70b7e3fbb6
[generic] Add a test case for direct links with broken HEAD ( #4032 )
2014-10-26 20:49:51 +01:00
Philipp Hagemeister
d6e6a42256
[vimeo:likes] Add new extractor ( Fixes #3835 )
2014-09-28 12:14:16 +02:00
Sergey M․
08a36c3569
[test_download] Check expected file minsize and md5 only when download is not skipped
2014-08-29 18:42:42 +07:00
Philipp Hagemeister
753727cded
[test_download] Expect a minimum file size
...
This should detect when we're downloading a small text file by accident.
2014-08-28 13:59:45 +02:00
Philipp Hagemeister
22a6f15061
Move playlist tests to extractors.
...
From now on, test_download will run these tests. That means we benefit not only from the networking setup in there, but also from the other tests (for example test_all_urls to find problems with _VALID_URLs).
2014-08-28 00:58:24 +02:00
Philipp Hagemeister
2857084000
[test_download] Improve playlist handling
2014-08-27 17:11:45 +02:00
Philipp Hagemeister
0990305d2a
[generic] Fix rss under Python 2.x and move test to extractor
2014-08-25 18:03:01 +02:00
Philipp Hagemeister
829476b80a
[googlesearch] Move test to extractor
2014-08-25 17:02:52 +02:00