mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-05 04:26:18 -07:00
[jsinterp] Clean up and pull yt-dlp style
* add compat_re_Pattern * improve compat_collections_chain_map * use class JS_Undefined * remove unused code
This commit is contained in:
parent
538ec65ba7
commit
46b8ae2f52
4 changed files with 77 additions and 90 deletions
|
@ -12,10 +12,11 @@ import io
|
|||
import re
|
||||
import string
|
||||
|
||||
from youtube_dl.compat import compat_str, compat_urlretrieve
|
||||
|
||||
from test.helper import FakeYDL
|
||||
from youtube_dl.extractor import YoutubeIE
|
||||
from youtube_dl.jsinterp import JSInterpreter
|
||||
from youtube_dl.compat import compat_str, compat_urlretrieve
|
||||
|
||||
_SIG_TESTS = [
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue