Apply suggestions from code review

This commit is contained in:
bashonly 2024-05-11 16:57:45 +00:00 committed by GitHub
parent e028dc1631
commit 5294d53957
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
import re
from .common import InfoExtractor
from ..utils import traverse_obj
from .cloudflarestream import CloudflareStreamIE
from .common import InfoExtractor
from ..utils.traversal import traverse_obj
class HytaleIE(InfoExtractor):
@ -50,7 +50,7 @@ class HytaleIE(InfoExtractor):
entries = [
self.url_result(
f'https://cloudflarestream.com/{video_hash}/manifest/video.mpd?parentOrigin=https%3A%2F%2Fhytale.com',
ie=CloudflareStreamIE, title=self._titles.get(video_hash), url_transparent=True)
CloudflareStreamIE, title=self._titles.get(video_hash), url_transparent=True)
for video_hash in re.findall(
r'<stream\s+class\s*=\s*"ql-video\s+cf-stream"\s+src\s*=\s*"([a-f0-9]{32})"',
webpage)