mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 19:36:45 +00:00
Update vrt.py
fix indent
This commit is contained in:
parent
4de300768a
commit
3829f90a74
|
@ -55,7 +55,7 @@ def _real_extract(self, url):
|
||||||
site, display_id = re.match(self._VALID_URL, url).groups()
|
site, display_id = re.match(self._VALID_URL, url).groups()
|
||||||
webpage = self._download_webpage(url, display_id)
|
webpage = self._download_webpage(url, display_id)
|
||||||
attrs = extract_attributes(self._search_regex(
|
attrs = extract_attributes(self._search_regex(
|
||||||
r'(<[^>]+class="vrtvideo( [^"]*)?"[^>]*>)', webpage, 'vrt video'))
|
r'(<[^>]+class="vrtvideo( [^"]*)?"[^>]*>)', webpage, 'vrt video'))
|
||||||
|
|
||||||
asset_id = attrs['data-video-id']
|
asset_id = attrs['data-video-id']
|
||||||
publication_id = attrs.get('data-publication-id')
|
publication_id = attrs.get('data-publication-id')
|
||||||
|
|
Loading…
Reference in a new issue