Compare commits

..

No commits in common. "ee8560d01eec511587f8207c3d84219ec620a9a6" and "7bbd5b13d4c6cfc3e24f56413ff1a1eace8472b8" have entirely different histories.

View File

@ -47,11 +47,6 @@ class ManyVidsIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
video_id = self._match_id(url) video_id = self._match_id(url)
real_url = 'https://www.manyvids.com/video/%s/gtm.js' % (video_id, )
try:
webpage = self._download_webpage(real_url, video_id)
except Exception:
# probably useless fallback
webpage = self._download_webpage(url, video_id) webpage = self._download_webpage(url, video_id)
info = self._search_regex( info = self._search_regex(
@ -103,8 +98,7 @@ class ManyVidsIE(InfoExtractor):
# Sets some cookies # Sets some cookies
self._download_webpage( self._download_webpage(
'https://www.manyvids.com/includes/ajax_repository/you_had_me_at_hello.php', 'https://www.manyvids.com/includes/ajax_repository/you_had_me_at_hello.php',
video_id, note='Setting format cookies', fatal=False, video_id, fatal=False, data=urlencode_postdata({
data=urlencode_postdata({
'mvtoken': mv_token, 'mvtoken': mv_token,
'vid': video_id, 'vid': video_id,
}), headers={ }), headers={