You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to download from Twitter while logged in and I'm getting this error. Without logging in, and with removing my conf file, it works just fine, but I have some private accounts I'd like to download from. Is there some stuff missing from my conf file that Twitter now requires or something?
[gallery-dl][debug] Python 3.7.4 - Windows-10-10.0.18362-SP0
[gallery-dl][debug] requests 2.22.0 - urllib3 1.25.3
[gallery-dl][debug] Starting DownloadJob for 'https://twitter.com/ToroborosArt/media'
[twitter][debug] Using TwitterMediaExtractor for 'https://twitter.com/ToroborosArt/media'
[twitter][info] Logging in as nsfwzanga
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): twitter.com:443
[urllib3.connectionpool][debug] https://twitter.com:443 "GET /login HTTP/1.1" 200 None
[twitter][error] An unexpected error occurred: ValueError - substring not found. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[twitter][debug]
Traceback (most recent call last):
File "c:\users\zanga\appdata\local\programs\python\python37\lib\site-packages\gallery_dl\job.py", line 49, in run
for msg in self.extractor:
File "c:\users\zanga\appdata\local\programs\python\python37\lib\site-packages\gallery_dl\extractor\twitter.py", line 42, in items
self.login()
File "c:\users\zanga\appdata\local\programs\python\python37\lib\site-packages\gallery_dl\extractor\twitter.py", line 113, in login
self._update_cookies(self._login_impl(username, password))
File "c:\users\zanga\appdata\local\programs\python\python37\lib\site-packages\gallery_dl\cache.py", line 115, in __call__
value = self.func(*args, **kwargs)
File "c:\users\zanga\appdata\local\programs\python\python37\lib\site-packages\gallery_dl\extractor\twitter.py", line 121, in _login_impl
pos = page.index('name="authenticity_token"')
ValueError: substring not found```
The text was updated successfully, but these errors were encountered:
Twitter seems to have updated the login page, but you can force the old version by using "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" as user-agent
This also appears to be the same problem as in #584
Trying to download from Twitter while logged in and I'm getting this error. Without logging in, and with removing my conf file, it works just fine, but I have some private accounts I'd like to download from. Is there some stuff missing from my conf file that Twitter now requires or something?
The text was updated successfully, but these errors were encountered: