[twitter] fix login with username & password

It is no longer possible to get an 'authenticity_token' from Twitter's
Javascript-free login form, which got disabled few days ago.

Generating a random 16 byte hex string client-side and sending that as
a cookie alongside the regular login form works just as well.
This commit is contained in:
Mike Fährmann
2020-12-28 15:54:47 +01:00
parent d1903589a5
commit b656b829db
3 changed files with 17 additions and 16 deletions

View File

@@ -1,5 +1,7 @@
# Changelog
## Unreleased
## 1.16.1 - 2020-12-27
### Additions
- [instagram] add `include` option ([#1180](https://github.com/mikf/gallery-dl/issues/1180))