1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-21 23:33:10 +00:00

Update vrt.py

fix indent
This commit is contained in:
Jens Timmerman 2020-04-14 15:38:51 +02:00 committed by GitHub
parent 4de300768a
commit 3829f90a74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ class VRTIE(InfoExtractor):
site, display_id = re.match(self._VALID_URL, url).groups()
webpage = self._download_webpage(url, display_id)
attrs = extract_attributes(self._search_regex(
r'(<[^>]+class="vrtvideo( [^"]*)?"[^>]*>)', webpage, 'vrt video'))
r'(<[^>]+class="vrtvideo( [^"]*)?"[^>]*>)', webpage, 'vrt video'))
asset_id = attrs['data-video-id']
publication_id = attrs.get('data-publication-id')