Browse Source

[YoutubeDL._calc_cookies] Restore the 'is_unverifiable'

I should have check everything was copied before commiting 4b405cfc6e4f9184567b94ee2f8a4a9851a912b5.
Jaime Marquínez Ferrándiz 11 năm trước cách đây
mục cha
commit
1070711d60
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      youtube_dl/YoutubeDL.py

+ 3 - 0
youtube_dl/YoutubeDL.py

@@ -892,6 +892,9 @@ class YoutubeDL(object):
             def get_full_url(self):
                 return self.url
 
+            def is_unverifiable(self):
+                return self.unverifiable
+
             def has_header(self, h):
                 return h in self.headers