Skip to content

A feature-rich command-line audio/video downloader

[README] Adapt code to new style

Philipp Hagemeisterc920d7f00d33
diff --git a/README.md b/README.md
index c284db4955..6e572813c6 100644
--- a/README.md
+++ b/README.md
@@ -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 {