Plugin cleanup and tweaks
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
# coding: utf-8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import re
|
||||
|
||||
from .common import InfoExtractor
|
||||
@@ -57,7 +54,6 @@ class GabTVIE(InfoExtractor):
|
||||
else:
|
||||
frmt['height'] = str_to_int(resolution.replace('p', ''))
|
||||
formats.append(frmt)
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': id,
|
||||
@@ -123,8 +119,6 @@ class GabIE(InfoExtractor):
|
||||
} for url, f in ((media.get('url'), metadata.get('original') or {}),
|
||||
(media.get('source_mp4'), metadata.get('playable') or {})) if url]
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
author = json_data.get('account') or {}
|
||||
entries.append({
|
||||
'id': f'{post_id}-{idx}',
|
||||
|
Reference in New Issue
Block a user