| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
I got a chapter titled "角松敏生 - GO & SEE MY LOVE" in a recent
download. The & shows up on the actual site[1][2], and i've only
seen it on this station (NORTHWAVE), on another (INT) it's fine[3] so
this is probably just NORTH WAVE doing fucky things. Either way, it's
not much bother to unescape and it makes the metadata better. Hopefully
there's not an actual band/song with HTML escapes in the name lmao
[1] https://files.catbox.moe/uk2ucp.png
[2] https://files.catbox.moe/cuibi3.png
[3] https://files.catbox.moe/l1ap39.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
afaict nhk doesn't have timefree, and it says as much on the programme pages
The download doesn't fail though, you just get a loop of elevator music
and an apology that it's not available (lasting the duration of the programme)
from tsDetail.js
tsInNg = playable in the area
tsOutNg = playable outside the area
(maybe - just a guess really, but seems to line up)
outside station area + playable in area + not playable outside = not available in your area
outside station area + not playable in area + not playable outside area = not available on timefree
inside station area + not playable in area = not available on timefree
we'll always be in the station area, so we only have to check tsInNg
included a message about NHK Radiru because so far i've only seen NHK programmes
be unavailable
one day i should make the programme_meta func return a dict or something
instead of just adding stuff on the end ad infinitum
closes #15
|
|
|
|
|
|
|
|
|
| |
fixes #14
new headers thing made b'bytes' into "b'bytes'", instead of just 'bytes'
so it sent eg `X-Radiko-Partialkey: b'9lOaAg+2TZRSF+IsiDnUJg=='`
likely a fix for this upstream soon, but will do the sensible thing and make it ascii myself
https://discord.com/channels/807245652072857610/1112613156934668338/1134879336512634880 (yt-dlp discord)
|
| |
|
|
|
|
|
| |
ERROR: Response.info() is deprecated, use Response.headers
see #14
|
| |
|
|
|
|
| |
fixes #13
|
| |
|
| |
|
| |
|
|
|
|
| |
so when embedding it gets tagged as the artist
|
| |
|
|
|
|
| |
oops
|
| |
|
| |
|
| |
|
|
|
|
| |
closes #6
|
|
|
|
| |
closes #4
|
|
|
|
| |
not smort enough for traverse_obj
|
| |
|
|
|
|
| |
one of these days i should look in to a way to do this automatically
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
FM_OKINAWA, FM_OITA
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
this means it cant see the old tokens
who cares, they expire in an hour
|
| |
|
|
|
|
| |
wall of constants abandoned as a lost cause
|
| |
|
|
|
|
| |
urls in the middle of the programme are valid and do occur in the wild
|
| |
|
| |
|
| |
|
|
|
|
|
| |
stations change names, new ones get added, etc
assume it's something like this and try to correct for it before kicking you out with an error
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
prevents the plugin thing from trying to load it as an extractor
error this prevents:
Traceback (most recent call last):
File "/home/g/Downloads/yt-dlp/test/test_download.py", line 160, in test_template
res_dict = ydl.extract_info(
File "/home/g/Downloads/yt-dlp/yt_dlp/YoutubeDL.py", line 1508, in extract_info
if not ie.suitable(url):
File "/home/g/Downloads/yt-dlp/yt_dlp/extractor/common.py", line 563, in suitable
return cls._match_valid_url(url) is not None
File "/home/g/Downloads/yt-dlp/yt_dlp/extractor/common.py", line 555, in _match_valid_url
cls._VALID_URL_RE = re.compile(cls._VALID_URL)
File "/usr/lib/python3.10/re.py", line 251, in compile
return _compile(pattern, flags)
File "/usr/lib/python3.10/re.py", line 302, in _compile
raise TypeError("first argument must be string or compiled pattern")
TypeError: first argument must be string or compiled pattern
(BaseIE doesnt have _VALID_URL, so it fails. If I add one, it wants a _real_extract)
|
| |
|
| |
|
| |
|
| |
|
| |
|