Sfoglia il codice sorgente

[YoutubeDL._calc_cookies] Restore the 'is_unverifiable'

I should have check everything was copied before commiting 4b405cfc6e4f9184567b94ee2f8a4a9851a912b5.
Jaime Marquínez Ferrándiz 10 anni fa
parent
commit
1070711d60
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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