noaione / yuu

Yuu - a simple AbemaTV and other we(e)bsite video downloader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1080p m3u8

junjxie opened this issue · comments

I found some /1080/ m3u8 only contain /720/ ts chunks.
By replacing /720/ with /1080/ in m3u8 . is it possible to download 1080p in this situation?
Or is this kind of videos' highest resolution just 720P?

P.S.
https://abema.tv/channels/abema-anime/slots/F2kc89HeT6qbbu
I also found this kind of URLs is not supported by yuu. (but supported by streamlink

I found some /1080/ m3u8 only contain /720/ ts chunks.
By replacing /720/ with /1080/ in m3u8 . is it possible to download 1080p in this situation?
Or is this kind of videos' highest resolution just 720P?

It's the highest resolution, blame Abema for that

P.S.
https://abema.tv/channels/abema-anime/slots/F2kc89HeT6qbbu
I also found this kind of URLs is not supported by yuu. (but supported by streamlink

It should be supported

Also what error did you get for that "unsupported" url

yuu download https://abema.tv/channels/abema-anime/slots/Bq6H81SqLrYPtK -r 720p
[INFO] Starting yuu v0.2.3...
[INFO] Fetching user token
[INFO] Parsing webpage
[INFO] Parsing m3u8
Traceback (most recent call last):
File "/usr/local/bin/yuu", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/yuu/command.py", line 181, in main
cli()
File "/usr/lib/python3/dist-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 535, in invoke
return callback(*args, *kwargs)
File "/usr/local/lib/python3.6/dist-packages/yuu/command.py", line 134, in main_downloader
files, iv, ticket = parsem3u8(m3u8link, res, sesi, verbose)
File "/usr/local/lib/python3.6/dist-packages/yuu/parser.py", line 155, in parsem3u8
resgex = re.findall(r'(\d
)(?:/\w+.ts)', files[1])[0]
File "/usr/lib/python3.6/re.py", line 222, in findall
return _compile(pattern, flags).findall(string)
TypeError: expected string or bytes-like object