sim0n00ps / OF-DL

C# console app to download all of the media from Onlyfans accounts with DRM video downloading support
569 stars 54 forks source link

As soon as I open the window disappear #348

Closed dionpbms closed 1 month ago

dionpbms commented 2 months ago

Hello, I've followed all the steps, but as soon as I launch the program, the window disappear. I made a screenshot of it for just the half second that stay on the screen. I have norton antivirus, don't know if it can create problem, I've tried disable both antivirus and firewall for 15 mins but still crash. before close

melithine commented 2 months ago

You have an error in one of the JSON files, either config.json or auth.json.

dionpbms commented 2 months ago

thank you, how to fix?

melithine commented 2 months ago

I can't see which one it failed on, but I'm going to guess config.json. please post it here for review.

dionpbms commented 2 months ago

thank you, is this:

{ "DownloadAvatarHeaderPhoto": true, "DownloadPaidPosts": true, "DownloadPosts": true, "DownloadArchived": true, "DownloadStreams": true, "DownloadStories": true, "DownloadHighlights": true, "DownloadMessages": true, "DownloadPaidMessages": true, "DownloadImages": true, "DownloadVideos": true, "DownloadAudios": true, "IncludeExpiredSubscriptions": false, "IncludeRestrictedSubscriptions": false, "SkipAds": false, "DownloadPath": "", "PaidPostFileNameFormat": "", "PostFileNameFormat": "", "PaidMessageFileNameFormat": "", "MessageFileNameFormat": "", "RenameExistingFilesWhenCustomFormatIsSelected": false, "Timeout": null, "FolderPerPaidPost": false, "FolderPerPost": false, "FolderPerPaidMessage": false, "FolderPerMessage": false, "LimitDownloadRate": false, "DownloadLimitInMbPerSec": 4, "DownloadOnlySpecificDates": false, "DownloadDateSelection": "after", "CustomDate": "", "ShowScrapeSize": false, "DownloadPostsIncrementally": false, "FFmpegPath": "D:\documenti\varie\OF.DL\ffmpeg.exe", "NonInteractiveMode": false, "NonInteractiveModeListName": "", "NonInteractiveModePurchasedTab": false, }

melithine commented 2 months ago

The slashes in FFmpegPath need to be /, not \.

dionpbms commented 2 months ago

Ok I'll try. I've copied the path like the guide said.

dionpbms commented 2 months ago

Now work a little bit more, it said that I'm logged, and then disappear like before

melithine commented 2 months ago

Either open a powershell/terminal window and execute the exe directly in that window, or look at the log file to see what the error is.

melithine commented 2 months ago

Also, what OS are you using? That looks pre-Windows 10, but I could be wrong.

dionpbms commented 2 months ago

I'm using windows 7. this is a screen after opened in powershell (took time to remember how to use it lol) of screen

melithine commented 2 months ago

You need Windows 10+.

dionpbms commented 2 months ago

so this program can't work on win 7?

melithine commented 2 months ago

No, it can't.