mirror of
https://github.com/AAndyProgram/SCrawler.git
synced 2026-03-14 15:52:18 +00:00
Updated Settings (markdown)
10
Settings.md
10
Settings.md
@@ -45,6 +45,16 @@ Reddit parser can parse data without cookies, but you can set it up if you want.
|
||||
- ```Token``` - ```x-csrf-token``` must be placed in this field.
|
||||
- ```Authorization``` - Bearer token. Must start with ```Bearer ``` word with space after.
|
||||
|
||||
### How to find tokens
|
||||
|
||||
1. Open Google Chrome.
|
||||
2. Press three-dots-button - More tools - Developer tools (or just press ```Ctrl``` + ```Shift``` + ```I```).
|
||||
3. Open any twitter post you want.
|
||||
4. In the opened window go to ```Network```.
|
||||
5. In the list on the left, find a query that starts with ```TwitterDetails?```... and clock on it
|
||||
6. Scroll down to ```Request Headers``` then find the fields below:
|
||||
- ```authorization: Bearer .......``` - this is the authorization token. You need to copy the text from starting with the word 'Bearer' to the end of the line and paste it into the ```Authorization``` field on the Twitter settings form.
|
||||
- ```x-csrf-token: ..........``` - this is csrf token. You need to copy the text from starting with the word 'Bearer' to the end of the line and paste it into the ```Authorization``` field on the Twitter settings form. You need to copy all the text after the words ```x-csrf-token:``` and paste it into the ```Token``` field on the Twitter settings form
|
||||
|
||||
## How to set up cookies
|
||||
|
||||
|
||||
Reference in New Issue
Block a user