mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
add priority
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
3de1deeb8b
commit
ee720eb82f
2 changed files with 7 additions and 0 deletions
|
|
@ -34,6 +34,11 @@ components:
|
||||||
in: header
|
in: header
|
||||||
name: Accept-Language
|
name: Accept-Language
|
||||||
type: apiKey
|
type: apiKey
|
||||||
|
Priority:
|
||||||
|
description: "u=1, i"
|
||||||
|
in: header
|
||||||
|
name: Priority
|
||||||
|
type: apiKey
|
||||||
Referer:
|
Referer:
|
||||||
description: "https://x.com/home"
|
description: "https://x.com/home"
|
||||||
in: header
|
in: header
|
||||||
|
|
@ -133,6 +138,7 @@ security:
|
||||||
- Accept: []
|
- Accept: []
|
||||||
- AcceptEncoding: []
|
- AcceptEncoding: []
|
||||||
- AcceptLanguage: []
|
- AcceptLanguage: []
|
||||||
|
- Priority: []
|
||||||
- Referer: []
|
- Referer: []
|
||||||
- SecChUa: []
|
- SecChUa: []
|
||||||
- SecChUaMobile: []
|
- SecChUaMobile: []
|
||||||
|
|
|
||||||
|
|
@ -255,6 +255,7 @@ if __name__ == "__main__":
|
||||||
"sec-ch-ua-platform": '"Windows"',
|
"sec-ch-ua-platform": '"Windows"',
|
||||||
"accept-encoding": "identity",
|
"accept-encoding": "identity",
|
||||||
"referer": twitter_url,
|
"referer": twitter_url,
|
||||||
|
"priority": "u=1, i",
|
||||||
"authorization": f"Bearer {access_token}",
|
"authorization": f"Bearer {access_token}",
|
||||||
"x-twitter-auth-type": "OAuth2Session",
|
"x-twitter-auth-type": "OAuth2Session",
|
||||||
"x-twitter-client-language": "en",
|
"x-twitter-client-language": "en",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue