]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[extractor/generic] Rename tvc embed url variable
authorSergey M․ <dstftw@gmail.com>
Fri, 12 Jun 2015 12:15:30 +0000 (18:15 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 12 Jun 2015 12:15:30 +0000 (18:15 +0600)
youtube_dl/extractor/generic.py

index 6be9e632923b157667b18db7a607561cc24bd59b..357d58cea07b2509a5c66de45657d988448905c1 100644 (file)
@@ -1312,9 +1312,9 @@ class GenericIE(InfoExtractor):
             return self.url_result(rutv_url, 'RUTV')
 
         # Look for embedded TVC player
-        rutv_url = TVCIE._extract_url(webpage)
-        if rutv_url:
-            return self.url_result(rutv_url, 'TVC')
+        tvc_url = TVCIE._extract_url(webpage)
+        if tvc_url:
+            return self.url_result(tvc_url, 'TVC')
 
         # Look for embedded SportBox player
         sportbox_urls = SportBoxEmbedIE._extract_urls(webpage)