瀏覽代碼

[motherless] PEP 8 (#17455)

Sergey M․ 7 年之前
父節點
當前提交
13ef64fd93
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      youtube_dl/extractor/motherless.py

+ 3 - 3
youtube_dl/extractor/motherless.py

@@ -167,9 +167,9 @@ class MotherlessGroupIE(InfoExtractor):
         if not entries:
         if not entries:
             entries = [
             entries = [
                 self.url_result(
                 self.url_result(
-                    compat_urlparse.urljoin(base, '/' + video_id),
-                    ie=MotherlessIE.ie_key(), video_id=video_id)
-                for video_id in orderedSet(re.findall(
+                    compat_urlparse.urljoin(base, '/' + entry_id),
+                    ie=MotherlessIE.ie_key(), video_id=entry_id)
+                for entry_id in orderedSet(re.findall(
                     r'data-codename=["\']([A-Z0-9]+)', webpage))]
                     r'data-codename=["\']([A-Z0-9]+)', webpage))]
         return entries
         return entries