aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/moviefap.py
diff options
context:
space:
mode:
authorGeorge Brighton <george@gebn.co.uk>2015-06-27 20:51:11 +0100
committerGeorge Brighton <george@gebn.co.uk>2015-06-27 20:51:11 +0100
commit62b742ece3ec6c7d7fd24898b5413b6b98a4ae8f (patch)
tree52c8f6b697c3c7113bde3b6b9fde6ace19e2a3bd /youtube_dl/extractor/moviefap.py
parentd16ef949ca94ffb998c4db5a8367f0b367d659e3 (diff)
[moviefap] Remove redundant comments
Diffstat (limited to 'youtube_dl/extractor/moviefap.py')
-rw-r--r--youtube_dl/extractor/moviefap.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/youtube_dl/extractor/moviefap.py b/youtube_dl/extractor/moviefap.py
index 23575d30a..b38a8e71f 100644
--- a/youtube_dl/extractor/moviefap.py
+++ b/youtube_dl/extractor/moviefap.py
@@ -70,19 +70,13 @@ class MovieFapIE(InfoExtractor):
def _real_extract(self, url):
- # find the video ID
video_id = self._match_id(url)
-
- # retrieve the page HTML
webpage = self._download_webpage(url, video_id)
- # find the URL of the XML document detailing video download URLs
+ # find and retrieve the XML document detailing video download URLs
info_url = self._html_search_regex(r'flashvars\.config = escape\("(.+?)"', webpage, 'player parameters')
-
- # download that XML
xml = self._download_xml(info_url, video_id)
- # create dictionary of properties we know so far, or can find easily
info = {
'id': video_id,
'title': self._html_search_regex(r'<div id="view_title"><h1>(.*?)</h1>', webpage, 'title'),