]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/pornovoisines.py
[ie/JoqrAg] Add extractor (#8384)
[yt-dlp.git] / yt_dlp / extractor / pornovoisines.py
index b6b71069d31070644afd46e2d92a939e4b33f744..aa48da06b99f8924cdcf7285fc1a6d2b51dc5a1d 100644 (file)
@@ -1,8 +1,3 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
-import re
-
 from .common import InfoExtractor
 from ..utils import (
     int_or_none,
@@ -39,7 +34,7 @@ class PornoVoisinesIE(InfoExtractor):
     }
 
     def _real_extract(self, url):
-        mobj = re.match(self._VALID_URL, url)
+        mobj = self._match_valid_url(url)
         video_id = mobj.group('id')
         display_id = mobj.group('display_id')
 
@@ -60,7 +55,6 @@ def _real_extract(self, url):
                         'height': item.get('height'),
                         'bitrate': item.get('bitrate'),
                     })
-        self._sort_formats(formats)
 
         webpage = self._download_webpage(url, video_id)