Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacFoxG4

macrumors 6502
Nov 22, 2019
447
623
Is this after a fresh install? The update function is broken only on Intel and may cause this, an update is due out soon.
Yep. I’m gonna try reinstalling and see what happens.

EDIT: I deleted and then reinstalled PPCMC and streaming is working now. Me using the update function last time must have broken my first installation.
 
Last edited:
  • Love
Reactions: alex_free
Is it me, or did YT flip a switch sometime within the last day, all but preventing page loads on older browsers, including the loading of channel pages?

UPDATE: It appears rendering of YT pages in Interweb has stopped (with an error 204), but the pages will render in Nightly. Is anyone able to test this in a Snow Leopard setting?

1643944041806.png



WHINGEY CHILD OF UPDATE: Nope. It’s a corrupt profile. This is going to be fun. Case closed!

[one day later]

I WAS A TEENAGE CHILD OF UPDATE: In the end, several hours later, I found it was something buried in the User Agent Override (UAControl) add-on settings which got corrupted somehow. I wiped all overrides clean and will need to manually re-add the ones which have nothing to do with Alphabet/Google/YouTube/TheInternet. Back to scraping. :)

[a little while later after that]

ZOMBIE OF TEENAGE CHILD OF UPDATE: I was wrong! YouTube did change something in page-rendering, insomuch as it pertains to running an older-standard browser (like Interweb or Nightly) whilst using a later user agent string (like I had for YT, namely the “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Firefox/78.0” string I’d been using for quite a while now.)
 
Last edited:
  • Like
Reactions: alex_free
OK. Here’s an interesting warning (not a fatal one) which seems to come up from time to time, though the content still downloads in the end. As it seems to relate to youtube-dlp, I’m not sure how to go about relaying this to those developers.

The error log typically goes like this:

Code:
[youtube] DqaRPOEuFjQ: Downloading webpage
[youtube] DqaRPOEuFjQ: Downloading android player API JSON
[youtube] DqaRPOEuFjQ: Downloading player 0cd11746
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = I3N-IKz5-yPXXCa29 ; player = https://www.youtube.com/s/player/0cd11746/player_ias.vflset/en_US/base.js
DqaRPOEuFjQ: Traceback (most recent call last):
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 1881, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 1902, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 1892, in _extract_n_function_name
    jscode, 'Initial JS player n function name', group='nfunc')
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/common.py", line 1173, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.',)); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
[info] DqaRPOEuFjQ: Downloading 1 format(s): 299+140

…after which the downloading commences.

Anyway, it seems somewhat worth passing along if it’s in any way meaningful to you, @alex_free .
 
  • Like
Reactions: alex_free
OK. Here’s an interesting warning (not a fatal one) which seems to come up from time to time, though the content still downloads in the end. As it seems to relate to youtube-dlp, I’m not sure how to go about relaying this to those developers.

The error log typically goes like this:

Code:
[youtube] DqaRPOEuFjQ: Downloading webpage
[youtube] DqaRPOEuFjQ: Downloading android player API JSON
[youtube] DqaRPOEuFjQ: Downloading player 0cd11746
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = I3N-IKz5-yPXXCa29 ; player = https://www.youtube.com/s/player/0cd11746/player_ias.vflset/en_US/base.js
DqaRPOEuFjQ: Traceback (most recent call last):
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 1881, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 1902, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 1892, in _extract_n_function_name
    jscode, 'Initial JS player n function name', group='nfunc')
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/common.py", line 1173, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.',)); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
[info] DqaRPOEuFjQ: Downloading 1 format(s): 299+140

…after which the downloading commences.

Anyway, it seems somewhat worth passing along if it’s in any way meaningful to you, @alex_free .

And now I have finally killed… something — or else a YT algorithm has caught on and is now blocking requests for fragmented clips of any resolution. But it’s — so far — sporadic:

Code:
Downloading Video With Best Video And Best Audio...


[youtube] HduSinXaE0E: Downloading webpage
[youtube] HduSinXaE0E: Downloading android player API JSON
[youtube] HduSinXaE0E: Downloading player 0cd11746
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = 2vx9skjSXk4g63LCk ; player = https://www.youtube.com/s/player/0cd11746/player_ias.vflset/en_US/base.js
HduSinXaE0E: Traceback (most recent call last):
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 1881, in _decrypt_nsig
    self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 1902, in _extract_n_function
    funcname = self._extract_n_function_name(jscode)
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/youtube.py", line 1892, in _extract_n_function_name
    jscode, 'Initial JS player n function name', group='nfunc')
  File "/Applications/PPCMC.app/bin/yt-dlp/yt_dlp/extractor/common.py", line 1173, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
yt_dlp.utils.RegexNotFoundError: Unable to extract Initial JS player n function name; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
 (caused by RegexNotFoundError('Unable to extract \x1b[0;94mInitial JS player n function name\x1b[0m; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.',)); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
[youtube] HduSinXaE0E: Downloading MPD manifest
[youtube] HduSinXaE0E: Downloading MPD manifest
[info] HduSinXaE0E: Downloading 1 format(s): 137+140
[dashsegments] Total fragments: 34
[download] Destination: /Users/root/.ppcmcTemp/09ffntw/Jeff Wayne - The Eve Of The War (Ben Liebrand Remix) [HQ_1080p].f137.mp4
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 1 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 2 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 3 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 4 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 5 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 6 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 7 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 8 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 9 of 10) ...
[download] Got server HTTP error: HTTP Error 503: Service Unavailable. Retrying (attempt 10 of 10) ...
ERROR: giving up after 10 retries
ERROR: unable to download video data: [Errno 2] No such file or directory: '/Users/root/.ppcmcTemp/09ffntw/Jeff Wayne - The Eve Of The War (Ben Liebrand Remix) [HQ_1080p].f137.mp4.part-Frag1'



- Download Complete -


EDIT: I decided to give the same clip a try on a much earlier version of PPCMC (one which employs youtube-dl rather than yt-dlp); while that attempt also failed with the video side of the clip, it did successfully download the audio side (see below). PPCMC will stream the clip to VLC, and the browser will play the clip, but grabbing it appears to be a no-go.

Code:
Downloading Video With Best Video And Best Audio...


[youtube] HduSinXaE0E: Downloading webpage
[youtube] HduSinXaE0E: Downloading player 0cd11746
[youtube] HduSinXaE0E: Downloading MPD manifest
[dashsegments] Total fragments: 34
[download] Destination: /Users/root/.ppcmcTemp/5she87u/Jeff Wayne - The Eve Of The War (Ben Liebrand Remix) [HQ_1080p].f137.mp4
ERROR: giving up after 10 retries
[download] Destination: /Users/root/.ppcmcTemp/5she87u/Jeff Wayne - The Eve Of The War (Ben Liebrand Remix) [HQ_1080p].f140.m4a
[download] 100% of 2.60MiB in 00:40



- Download Complete -
 
Last edited:

netsrot39

macrumors 6502
Feb 7, 2018
360
502
Austria
Is anyone else currently having issues with Youtube-DL on their PowerPC Mac? I've tried various ways to update youtube-dl inside PowerPC Media Center but neither manually copying the script inside the application nor the built in update function do seem to yield anything useful ...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.