aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-25 09:23:44 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-25 09:23:46 +0100
commitc920d7f00d333e498edbe15b7e29cc2e97b54d5e (patch)
tree5a20397a157ae6cee6937dce2e51f8a72bd44480
parent0bbf12239c5a97ddcaa9d54012cbcb2448223072 (diff)
[README] Adapt code to new style
Next to every IE will download the webpage first anyways.
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index c284db495..6e572813c 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 {