Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [jsinterp] Improve parsing | dirkf | 2023-02-02 | 1 | -3/+50 | |
| | | | | | | | | | * support subset `... else if ...` * support `while` * add `RegExp` class * generalise `new` support * limited more debug strings * matching test changes | |||||
* | Support `if` statements | pukkandan | 2023-02-02 | 2 | -0/+36 | |
| | | | | | Fix for yt-dlp/yt_dlp#6131 Closes #31509 | |||||
* | [utils] Backport traverse_obj (etc) from yt-dlp (#31156) | Andrei Lebedev | 2022-11-03 | 1 | -0/+323 | |
| | | | | | | | | | * Backport traverse_obj and closely related function from yt-dlp (code by pukkandan) * Backport LazyList, variadic(), try_call (code by pukkandan) * Recast using yt-dlp's newer traverse_obj() implementation and tests (code by grub4k) * Add tests for Unicode case folding support matching Py3.5+ (requires f102e3d) * Improve/add tests for variadic, try_call, join_nonempty Co-authored-by: dirkf <fieldhouse@gmx.net> | |||||
* | [compat] Add test for compat_casefold() | dirkf | 2022-11-01 | 1 | -0/+1 | |
| | ||||||
* | [compat] Add test for compat_casefold() | dirkf | 2022-11-01 | 1 | -1/+13 | |
| | ||||||
* | [netease] Get netease music download url through player api (#31235) | Xie Yanbo | 2022-10-11 | 1 | -1/+8 | |
| | | | | | | | | * remove unplayable song from test * compatible with python 2 * using standard User_Agent, fix imports * use hash instead of long description * fix lint * fix hash | |||||
* | [test] Implement string "lambda x: condition(x)" as an expected value | dirkf | 2022-10-11 | 1 | -1/+7 | |
| | | | | Semantics equivalent to `assert condition(got)` | |||||
* | [jsinterp] Workaround operator associativity issue | pukkandan | 2022-09-03 | 1 | -0/+4 | |
| | | | | | | * temporary fix for player 5a3b6271 [1] 1. https://github.com/yt-dlp/yt-dlp/issues/4635#issuecomment-1235384480 | |||||
* | [cache] Add cache validation by program version, based on yt-dlp | dirkf | 2022-09-01 | 1 | -2/+14 | |
| | ||||||
* | [jsinterp] Handle new YT players 113ca41c, c57c113c | dirkf | 2022-09-01 | 2 | -0/+37 | |
| | | | | | | | * add NaN * allow any white-space character for `after_op` * align with yt-dlp f26af78a8ac11d9d617ed31ea5282cfaa5bcbcfa (charcodeAt and bitwise overflow) * allow escaping in regex, fixing player c57c113c | |||||
* | [jsinterp] Improve try/catch/finally support | dirkf | 2022-08-26 | 1 | -2/+12 | |
| | ||||||
* | [jsinterp] Fix bug in operator precedence | dirkf | 2022-08-25 | 2 | -0/+29 | |
| | | | | | * from https://github.com/yt-dlp/yt-dlp/commit/164b03c4864b0d44cfee5e7702f7c2317164a6cf * added tests | |||||
* | [jsinterp] Clean up and pull yt-dlp style | dirkf | 2022-08-19 | 2 | -11/+12 | |
| | | | | | | | * add compat_re_Pattern * improve compat_collections_chain_map * use class JS_Undefined * remove unused code | |||||
* | [jsinterp] Handle regexp literals and throw/catch execution (#31182) | dirkf | 2022-08-19 | 2 | -0/+25 | |
| | | | | * based on https://github.com/yt-dlp/yt-dlp/commit/f6ca640b122239d5ab215f8c2564efb7ac3e8c65, thanks pukkandan * adds parse support for regexp flags | |||||
* | [jsinterp] Improve JS language support (#31175) | dirkf | 2022-08-17 | 2 | -0/+118 | |
| | | | | | | | | | * operator ?? * operator ?. * operator ** * accurate operator functions * `undefined` handling * object literals {a: 1, "b": expr} * more tests for weird JS comparisons: see https://github.com/ytdl-org/youtube-dl/issues/31173#issuecomment-1217854397. | |||||
* | [jsinterp] Overhaul JSInterp to handle new YT players 4c3f79c5, 324f67b9 ↵ | dirkf | 2022-08-14 | 3 | -6/+59 | |
| | | | | | | | (#31170) * back-port from yt-dlp 8f53dc44a0cc1c2d98c35740b9293462c080f5d0, thanks pukkandan * also support void, improve <</>> precedence, improve expressions in comma-list * add more tests | |||||
* | [test, etc] Improve download test logs; also clean up some new flake8 issues ↵ | dirkf | 2022-08-09 | 1 | -2/+5 | |
| | | | | | | | | | (#31153) * [test] Identify testcase errors better * [test] Identify download errors better * [extractor/minds] Linter * [extractor/aes] Linter | |||||
* | [test] Fix linter for 3aa94d7945dfaa0e04acf2700ffe0e43b00db498 | dirkf | 2022-06-15 | 2 | -1/+2 | |
| | ||||||
* | [YouTube] Support JSON3 subtitle format | dirkf | 2022-06-09 | 1 | -20/+54 | |
| | | | | * subtitle tests updated to match | |||||
* | [test] Fix workable subtitle tests (except YT) and mark others as skip, broken | dirkf | 2022-06-08 | 1 | -7/+15 | |
| | | | | * broken tests need to be fixed when fixing the respective IE | |||||
* | [test] Skip not _WORKING IE in subtitle tests; use unittest.skipTest throughout | dirkf | 2022-06-08 | 2 | -4/+6 | |
| | ||||||
* | Make default upload_/release_date a compat_str | df | 2022-02-26 | 1 | -0/+19 | |
| | | | | | Ensures download tests pass in Python 2 as well as 3; also add YoutubeDL tests for timestamp -> upload_date etc. | |||||
* | [test:download] Only extract enough videos for playlist_mincount | dirkf | 2022-02-05 | 2 | -1/+1 | |
| | ||||||
* | Rework 2c2c2bd with an actual Mix page and realistic playlist size | dirkf | 2022-02-04 | 1 | -3/+3 | |
| | | | | From https://github.com/ytdl-org/youtube-dl/commit/2c2c2bd348b7dce0aad55a6fc37a18c6f9a000e3#commitcomment-65953545 | |||||
* | Merge branch 'pukkandan-yt-searchurl' into yt-dl-master | dirkf | 2022-02-04 | 1 | -3/+3 | |
|\ | | | | | | | Closes #27749 | |||||
| * | Merge branch 'UP/youtube-dl' into dl/YoutubeSearchURLIE | pukkandan | 2022-01-30 | 7 | -319/+73 | |
| |\ | ||||||
| * | | Add back `YoutubeSearchURLIE` | pukkandan | 2022-01-30 | 1 | -3/+3 | |
| | | | ||||||
* | | | [YouTube] Fix n-sig for player e06dea74 (#30582) | dirkf | 2022-02-01 | 1 | -7/+17 | |
| | | | | | | | | | From yt-dl commit 48416bc | |||||
* | | | Back-port test_youtube_signature.py from yt-dlp and fix JSInterp accordingly | dirkf | 2022-01-30 | 1 | -24/+63 | |
| | | | ||||||
* | | | Handle default in switch better | df | 2022-01-30 | 1 | -0/+15 | |
| | | | | | | | | | | | | | | | Add https://github.com/yt-dlp/yt-dlp/commit/a1fc7ca0743c8df06416e68ee74b64e07dfe7135 Thanks coletdjnz | |||||
* | | | Back-port JS interpreter upgrade from yt-dlp PR #1437 | df | 2022-01-30 | 1 | -0/+51 | |
| | | | ||||||
* | | | Fix test_youtube_flat_playlist_extraction | df | 2022-01-29 | 1 | -1/+1 | |
| | | | ||||||
* | | | Remove obsolete non-working test_youtube_toptracks | df | 2022-01-29 | 1 | -9/+0 | |
| | | | ||||||
* | | | Fix test_youtube_mix | df | 2022-01-29 | 1 | -4/+6 | |
| | | | ||||||
* | | | Remove obsolete test_youtube_course | df | 2022-01-29 | 1 | -10/+0 | |
| | | | ||||||
* | | | Fix test_youtube_playlist_noplaylist | df | 2022-01-29 | 1 | -2/+4 | |
| |/ |/| | ||||||
* | | [test_execution] Add test for lazy extractors (refs #28780) | Sergey M․ | 2021-04-21 | 1 | -0/+10 | |
| | | ||||||
* | | [test_youtube_misc] Move YoutubeIE.extract_id test into separate module | Sergey M․ | 2021-04-21 | 2 | -9/+26 | |
| | | ||||||
* | | [test_youtube_lists] Actualize youtube flat playlist test (closes #28045) | PrinceOfPuppers | 2021-02-17 | 1 | -5/+14 | |
| | | ||||||
* | | [youtube] add support phone/tablet JS player(closes #26424) | Remita Amine | 2021-02-08 | 1 | -21/+10 | |
| | | ||||||
* | | [youtube/test_youtube_signature] fix test | Remita Amine | 2021-02-01 | 1 | -5/+1 | |
| | | ||||||
* | | [youtube] remove description chapters tests | Remita Amine | 2021-02-01 | 1 | -275/+0 | |
| | | | | | | | | | | video description no longer contain yt.www.watch.player.seekTo function | |||||
* | | Introduce --output-na-placeholder (closes #27896) | Sergey M․ | 2021-01-22 | 1 | -4/+11 | |
| | | ||||||
* | | [YoutubeDL] Raise syntax error for format selection expressions with ↵ | Sergey M․ | 2021-01-14 | 1 | -0/+1 | |
|/ | | | | multiple + operators (closes #27803) | |||||
* | [rai] improve subtitles extraction (#27705) | nixxo | 2021-01-07 | 1 | -2/+10 | |
| | | | closes #27698 | |||||
* | [utils] add a function to clean podcast URLs | Remita Amine | 2021-01-04 | 1 | -0/+5 | |
| | ||||||
* | [utils] accept only supported protocols in url_or_none | Remita Amine | 2020-12-30 | 1 | -0/+5 | |
| | ||||||
* | [youtube:tab] Extend _VALID_URL (closes #27501) | Sergey M․ | 2020-12-26 | 1 | -3/+3 | |
| | ||||||
* | [test_InfoExtractor] PEP 8 | Sergey M․ | 2020-12-13 | 1 | -1/+0 | |
| | ||||||
* | [extractor/common] Improve JSON-LD interaction statistic extraction (refs ↵ | Sergey M․ | 2020-12-13 | 1 | -0/+50 | |
| | | | | #23306) |