[pornhub] Add placeholder netrc machine
authorSergey M․ <dstftw@gmail.com>
Wed, 3 Feb 2021 21:20:09 +0000 (04:20 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 3 Feb 2021 21:20:09 +0000 (04:20 +0700)
youtube_dl/extractor/pornhub.py

index 83307a233c17da0120bb20377305f94e03513ce2..83773aebb702d0377200d277b00b3b46d43b4feb 100644 (file)
@@ -29,6 +29,8 @@ from ..utils import (
 
 
 class PornHubBaseIE(InfoExtractor):
+    _NETRC_MACHINE = 'pornhub'
+
     def _download_webpage_handle(self, *args, **kwargs):
         def dl(*args, **kwargs):
             return super(PornHubBaseIE, self)._download_webpage_handle(*args, **kwargs)