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

Some posts/messages are being skipped #343

Open yourfavoriteweapon opened 2 months ago

yourfavoriteweapon commented 2 months ago

When I initially set this up, everything worked great. Now I've noticed it seems to be skipping content at times. There was a Paid message I unlocked, that was 2 images and a video. The downloader only picked up the first image and the video, not the 2nd one.

I went to another profile and noticed there were a few recent free posts that it didn't download. If i tried to force it to download by choosing single post and putting in that URL, the tool said it had already downloaded that post.

Logs dont have that much in them, is there a known issue going on?

naodrej commented 2 months ago

perhaps it's a dupe and the model reposted content.

jallisan commented 2 months ago

I have this exact same issue, there is a creator who has uploaded messages with many videos / photos in but when I try download them it only seems to get the first one that shows up in the browser. Attached my config.json but I've tried to change everything I could think of and still no cigar.
Screenshot from 2024-05-02 10-33-30

tj961120 commented 2 months ago

Following, I'm experiencing the same issues. A lot of pics and vids from messages being skipped for some reason...

DP9aq commented 2 months ago

Following too. I get those messages, even after i start whit an empty installation (so there should be no downloaded posts in the database) image is that the same Issue ?

sim0n00ps commented 2 months ago

I have this exact same issue, there is a creator who has uploaded messages with many videos / photos in but when I try download them it only seems to get the first one that shows up in the browser. Attached my config.json but I've tried to change everything I could think of and still no cigar.
Screenshot from 2024-05-02 10-33-30

Your Filename Formats are not unique enough, essentially using a format like that will mean every file for that post will try to be named the same so they will be overwritten so you're left with 1 file per post. Maybe include the media id which will make each filename unique.

DP9aq commented 2 months ago

Today i tried to scrap the whole media from one file - there was an error and the OF-DL didn't find any posts. Maybe the issue is related in the mechanism the identification of the single posts are made ?

jallisan commented 2 months ago

I have this exact same issue, there is a creator who has uploaded messages with many videos / photos in but when I try download them it only seems to get the first one that shows up in the browser. Attached my config.json but I've tried to change everything I could think of and still no cigar. Screenshot from 2024-05-02 10-33-30

Your Filename Formats are not unique enough, essentially using a format like that will mean every file for that post will try to be named the same so they will be overwritten so you're left with 1 file per post. Maybe include the media id which will make each filename unique.

Thanks @sim0n00ps this was my issue, been scratching my head for ages at this, had't occurred to me that when I reset everything I used the same filenames again.

Thanks as well for your hard work on this app, its second to none.

DP9aq commented 1 month ago

Hey there, im using the following file formats "PaidPostFileNameFormat": "{postedAt}-{username}_{id}_{text}", "PostFileNameFormat": "{postedAt}-{username}_{id}_{text}",

That should be unique enough or ? Still getting those 403 Errors image

tj961120 commented 1 month ago

I left my file format blank though... Any idea what might be causing this issue?

@sim0n00ps cannot thank you enough for this

DP9aq commented 1 month ago

Just tried again with a blank file format, same Error Maybe the Log file helps?

`2024-05-20 17:21:04.630 +02:00 [ERR] Auth failed 2024-05-20 17:22:02.853 +02:00 [ERR] Exception caught: Response status code does not indicate success: 403 (Forbidden).

StackTrace: at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at OF_DL.Helpers.APIHelper.GetDRMMPDPSSH(String mpdUrl, String policy, String signature, String kvp, Auth auth) 2024-05-20 17:26:55.664 +02:00 [ERR] Exception caught: Response status code does not indicate success: 403 (Forbidden).

StackTrace: at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at OF_DL.Helpers.APIHelper.GetDRMMPDPSSH(String mpdUrl, String policy, String signature, String kvp, Auth auth) `

Any Ideas @sim0n00ps ?

melithine commented 1 month ago

403s and file formats are two separate issues. I reco,mend including the mediaId in the filename. For the 403 issue, try with the most recent version and with/without a VPN.

4DeepThought2 commented 4 weeks ago

Same issue. Skips posts that have multiple media in it. Only downloads a single video or image.

melithine commented 4 weeks ago

Same issue. Skips posts that have multiple media in it. Only downloads a single video or image.

Post your config.json.

4DeepThought2 commented 3 weeks ago

Post your config.json.

{
  "DownloadAvatarHeaderPhoto": false,
  "DownloadPaidPosts": true,
  "DownloadPosts": true,
  "DownloadArchived": true,
  "DownloadStreams": true,
  "DownloadStories": true,
  "DownloadHighlights": true,
  "DownloadMessages": true,
  "DownloadPaidMessages": true,
  "DownloadImages": true,
  "DownloadVideos": true,
  "DownloadAudios": true,
  "IncludeExpiredSubscriptions": true,
  "IncludeRestrictedSubscriptions": false,
  "SkipAds": false,
  "DownloadPath": "",
  "RenameExistingFilesWhenCustomFormatIsSelected": false,
  "Timeout": null,
  "FolderPerPaidPost": false,
  "FolderPerPost": false,
  "FolderPerPaidMessage": false,
  "FolderPerMessage": false,
  "LimitDownloadRate": false,
  "DownloadLimitInMbPerSec": 4,
  "DownloadOnlySpecificDates": false,
  "DownloadDateSelection": "after",
  "CustomDate": null,
  "ShowScrapeSize": true,
  "DownloadPostsIncrementally": true,
  "NonInteractiveMode": false,
  "NonInteractiveModeSitesName": "",
  "NonInteractiveModePurchasedTab": false,
}

I've tried just the flat base config as well.

melithine commented 3 weeks ago

That doesn't look like the whole file, as that last comma should break the JSON validation. Beyond that, try doing a fresh scrape for one of the users and attach the log file so we can see if there are any errors getting logged.

4DeepThought2 commented 3 weeks ago

That doesn't look like the whole file, as that last comma should break the JSON validation. Beyond that, try doing a fresh scrape for one of the users and attach the log file so we can see if there are any errors getting logged.

Ok. I copied the flat config.json back over. Something is certainly wrong. There are some accounts with 1000s of posts, and its downloading like 1.

{
  "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": "",
  "NonInteractiveMode": false,
  "NonInteractiveModeListName": "",
  "NonInteractiveModePurchasedTab": false,
}