From bd66fdaea2782dfce5113eb9094ad2e300a1af99 Mon Sep 17 00:00:00 2001 From: Andy <88590076+AAndyProgram@users.noreply.github.com> Date: Tue, 7 Dec 2021 10:02:02 +0300 Subject: [PATCH] Created Settings (markdown) --- Settings.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Settings.md diff --git a/Settings.md b/Settings.md new file mode 100644 index 0000000..dfd7e91 --- /dev/null +++ b/Settings.md @@ -0,0 +1,34 @@ +# Settings + +## Program settings + +- ```Data path``` - this is root path where be placed data. +- ```Large/Small image size``` - size of users' icons. +- ```Separate video folder``` - this means video files will be placed in standalone folder in the user folder for keep video files apart of pictures. +- ```Temporary default``` - this parameter indicates how users will be created by default in the user creation form. +- ```Collections folder``` - just a collections folder name. +- ```Channels rows/columns``` - how many rows and columns will be shown in the channels form. For example: rows = 2; columns = 5. In this case on one page will be placed 10 images on two rows by 5 columns. **Please don't set up too high value.** + +## Reddit settings + +You should set up Reddit path where Reddit users' data will be placed. Default value: ```Data path``` + "Reddit". + +Reddit parser can parse data without cookies, but you can set it up if you want. + +## Twitter settings + +- ```Path``` - where Twitter users' data will be placed. +- ```Cookies``` add cookies from your browser (press button with pencil image to open cookies editor). +- ```Token``` - ```x-csrf-token``` must be placed in this field. +- ```Authorization``` - Bearer token. Must start with ```Bearer ``` word with space after. + + +## How to set up cookies + +1. Open Google Chrome. +2. Press three-dots-button - More tools - Developer tools (or just press ```Ctrl``` + ```Shift``` + ```I```). +3. In the opened window go to ```Application``` - ```Storage``` - ```Cookies```. +4. Copy all text. +5. In the program in the cookies editor press ```From Google Chrome``` button. +6. Paste copied cookies text in the opened window and press ```OK``` button. +7. Close cookies editor. \ No newline at end of file