# Running the Program

Once you are happy you have filled everything in [auth.json](auth) correctly, you can double click OF-DL.exe and you should see a command prompt window appear, it should look something like this:

<figure><img src="https://2188460128-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZJkq6epLomOIyNWb66X2%2Fuploads%2FuVyArhImPUEcJcVMwssW%2F235548153-107f3f44-aa00-4946-8432-458329142007.png?alt=media&#x26;token=5aef934d-af21-42f7-9cbb-abcb3d39c62b" alt=""><figcaption></figcaption></figure>

It should locate auth.json, config.json and ffmpeg successfully, if anything doesn't get located successfully then make sure the files exist or the path is correct.

If the auth info is correct then you should see a message in green text `Logged In successfully as {Your Username} {Your User Id}`. However if the auth.json has been filled out but cannot log in successfully with the credentials provided then a message in red text will appear `Auth failed, please check the values in auth.json are correct, press any key to exit`. This means you need to go back and fill in the auth.json file again, this will usually indicate that your `user-agent` has changed or you need to re-copy your `sess` value.

If you're logged in successfully then you will be greeted with a selection prompt. To navigate the menu the can use the ↑ & ↓ arrows and press `enter` to choose that option.

<figure><img src="https://2188460128-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZJkq6epLomOIyNWb66X2%2Fuploads%2FuMNWhM1t881tPWygUseP%2FScreenshot%202023-12-27%20010054.png?alt=media&#x26;token=2f7a415c-d036-4743-997f-de68a166e7a2" alt=""><figcaption></figcaption></figure>

The Select All option will go through every account you are currently subscribed to and grab all of the media from the users.

The List option will show you all of the lists you have created on OF and you can then select 1 or more lists to download the content of the users within those lists.

The Custom option allows you to select 1 or more accounts you want to scrape media from so if you only want to get media from a select number of accounts then you can do that. To navigate the menu the can use the ↑ & ↓ arrows. You can also press keys A-Z on the keyboard whilst in the menu to easily navigate the menu and for example pressing the letter 'c' on the keyboard will highlight the first user in the list who's username starts with the letter 'c'. To select/deselect an account, press the `space` key and after you are happy with your selection(s) press `enter` to start downloading.

The Download Single Post allows you to download a post from a URL, to get this URL go to any post and press the 3 dots, Copy link to post.

The edit config.json option allows you to change the config from within the program.

After you have made your selection the content should start downloading. Content is downloaded in this order:

1. Paid Posts
2. Posts
3. Archived
4. Streams
5. Stories
6. Highlights
7. Messages
8. Paid Messages
