1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[twitter] remove cookies migration workaround

revert 141efc2ad3
This commit is contained in:
Mike Fährmann 2024-10-31 17:10:13 +01:00
parent ecc08e35d5
commit e3fbd6825b
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -538,12 +538,6 @@ class TwitterExtractor(Extractor):
if username:
return self.cookies_update(_login_impl(self, username, password))
for cookie in self.cookies:
if cookie.domain == ".twitter.com":
self.cookies.set(
cookie.name, cookie.value, domain=self.cookies_domain,
expires=cookie.expires, secure=cookie.secure)
class TwitterUserExtractor(TwitterExtractor):
"""Extractor for a Twitter user"""