[extractor] Deprecate _sort_formats
This commit is contained in:
parent
784320c98c
commit
9f14daf22b
579 changed files with 69 additions and 918 deletions
|
|
@ -456,10 +456,6 @@ class PornHubIE(PornHubBaseIE):
|
|||
continue
|
||||
add_format(video_url)
|
||||
|
||||
# field_preference is unnecessary here, but kept for code-similarity with youtube-dl
|
||||
self._sort_formats(
|
||||
formats, field_preference=('height', 'width', 'fps', 'format_id'))
|
||||
|
||||
model_profile = self._search_json(
|
||||
r'var\s+MODEL_PROFILE\s*=', webpage, 'model profile', video_id, fatal=False)
|
||||
video_uploader = self._html_search_regex(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue