mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-22 15:57:23 +00:00
[README] Adapt code to new style
Next to every IE will download the webpage first anyways.
This commit is contained in:
parent
0bbf12239c
commit
c920d7f00d
1 changed files with 1 additions and 1 deletions
|
@ -492,9 +492,9 @@ If you want to add support for a new site, you can follow this quick list (assum
|
|||
|
||||
def _real_extract(self, url):
|
||||
video_id = self._match_id(url)
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
|
||||
# TODO more code goes here, for example ...
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
title = self._html_search_regex(r'<h1>(.*?)</h1>', webpage, 'title')
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue