dirkf

Results 631 comments of dirkf

@89z >Code below. I know its apples and oranges, but I would think the times would be similar. Is the code solving the n parameter challenge? As I recall, the...

> So, if I just copy the `jsinterp.py` from here, it will work? Apply the patch to the installed master version. >If someone has a good reason why its needed...

`man patch`, or that in a web search. But, as I'll put this in anyway, [the patched source file here](https://github.com/dirkf/youtube-dl/raw/df-jsinterp-speedup-patch/youtube_dl/jsinterp.py). And PR #30643.

So in the default case, is yt-dlp only descrambling for formats that aren't available from the Android client? And for the n-sig comparison you have 10 videos without a challenge,...

I rather expected that it would be slower. Feel free to run some tests as Pukkandan did and report back.

https://github.com/yt-dlp/yt-dlp#user-content-youtube: use `--extractor-args 'youtube:player-client=web'` to make yt-dlp use the same client as yt-dl. At any rate, though yt-dlp still comes out faster for me, I can't see obvious optimisations in...

>... the throttling is back. Your test URL works fine in the latest git master, Py2.7, 3.9.

The TVembedded client is used in PR #31043 to do what the Android client would have done. Otherwise no. We'd have to invent some way of configuring the client like...

Use an age-gated video! Or modify the code so that yt-dl always thinks the video is age-gated ...

Please **fully complete the template**. Read all the bold text instructions and set the check boxes accordingly.