Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

1080p m3u8 #13

Open
junjxie opened this issue Oct 2, 2019 · 3 comments
Open

1080p m3u8 #13

junjxie opened this issue Oct 2, 2019 · 3 comments

Comments

@junjxie
Copy link

junjxie commented Oct 2, 2019

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

@noaione
Copy link
Owner

noaione commented Oct 2, 2019

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

@noaione
Copy link
Owner

noaione commented Oct 3, 2019

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

@junjxie
Copy link
Author

junjxie commented Oct 3, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants