[mildom] Warn user of proxy

This commit is contained in:
pukkandan 2021-04-21 11:46:16 +05:30
parent a3faeb7de4
commit ab406a1c0e
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -118,6 +118,9 @@ class MildomIE(MildomBaseIE):
video_id = self._match_id(url) video_id = self._match_id(url)
url = 'https://www.mildom.com/%s' % video_id url = 'https://www.mildom.com/%s' % video_id
self.to_screen(
'Live videos are downloaded using proxies based on "https://github.com/nao20010128nao/bookish-octo-barnacle"\n'
' %s If you do not trust these proxies, please refrain from downloading live %s videos ' % (' ' * len(self.IE_NAME), self.IE_NAME))
webpage = self._download_webpage(url, video_id) webpage = self._download_webpage(url, video_id)
enterstudio = self._call_api( enterstudio = self._call_api(