Plugin cleanup and tweaks

This commit is contained in:
2023-02-20 19:18:45 -06:00
parent 372e4ff3dc
commit 3ad9e1c7bb
1138 changed files with 48878 additions and 40445 deletions

View File

@@ -1,6 +1,3 @@
# coding: utf-8
from __future__ import unicode_literals
from .common import InfoExtractor
from ..compat import (
compat_str,
@@ -95,7 +92,6 @@ class UOLIE(InfoExtractor):
if v:
query[k] = v
f_url = update_url_query(f_url, query)
format_id = format_id
if format_id == 'HLS':
m3u8_formats = self._extract_m3u8_formats(
f_url, media_id, 'mp4', 'm3u8_native',
@@ -111,7 +107,6 @@ class UOLIE(InfoExtractor):
'url': f_url,
'quality': quality(format_id),
})
self._sort_formats(formats)
tags = []
for tag in video_data.get('tags', []):