OF-DL icon indicating copy to clipboard operation
OF-DL copied to clipboard

Some posts/messages are being skipped

Open yourfavoriteweapon opened this issue 1 year ago • 9 comments

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?

yourfavoriteweapon avatar Apr 26 '24 19:04 yourfavoriteweapon

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

naodrej avatar Apr 28 '24 15:04 naodrej

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

jallisan avatar May 02 '24 09:05 jallisan

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

tj961120 avatar May 02 '24 23:05 tj961120

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 ?

DP9aq avatar May 04 '24 11:05 DP9aq

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.

sim0n00ps avatar May 04 '24 21:05 sim0n00ps

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 ?

DP9aq avatar May 06 '24 18:05 DP9aq

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.

jallisan avatar May 06 '24 19:05 jallisan

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

DP9aq avatar May 07 '24 19:05 DP9aq

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

@sim0n00ps cannot thank you enough for this

tj961120 avatar May 09 '24 03:05 tj961120

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 ?

DP9aq avatar May 21 '24 18:05 DP9aq

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.

melithine avatar Jun 03 '24 04:06 melithine

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

4DeepThought2 avatar Jun 06 '24 18:06 4DeepThought2

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

Post your config.json.

melithine avatar Jun 06 '24 23:06 melithine

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.

4DeepThought2 avatar Jun 10 '24 14:06 4DeepThought2

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.

melithine avatar Jun 10 '24 14:06 melithine

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,
}

4DeepThought2 avatar Jun 10 '24 16:06 4DeepThought2

Is this still happening on current release? If so, need a log with debug or verbose mode enabled.

melithine avatar Jul 31 '24 18:07 melithine