Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sporadic 403 errors #634

Open
him3ros opened this issue Nov 10, 2024 · 1 comment
Open

Sporadic 403 errors #634

him3ros opened this issue Nov 10, 2024 · 1 comment

Comments

@him3ros
Copy link

him3ros commented Nov 10, 2024

Description

When scraping a profile, I sporadically get HTTP 403 errors when attempting to download various bits of media. These pop up both in post and message scrapes. The errors are not necessarily successive. In other words if I am scraping successive posts/messages A, B, and C then I may get a 403 on post/message B media but have success scraping posts/messages A and C. I am scraping behind ProtonVPN, and have encountered this issue with their DNS filter turned both on and off.

Configuration

App type: Docker image
Version: 1.7.83
CRM: not configured

{
  "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": true,
  "IncludeRestrictedSubscriptions": false,
  "SkipAds": false,
  "DownloadPath": "/data",
  "PaidPostFileNameFormat": "{postedAt}_{id}_{filename}",
  "PostFileNameFormat": "{postedAt}_{id}_{filename}",
  "PaidMessageFileNameFormat": "{createdAt}_{id}_{filename}",
  "MessageFileNameFormat": "{createdAt}_{id}_{filename}",
  "RenameExistingFilesWhenCustomFormatIsSelected": true,
  "Timeout": -1,
  "FolderPerPaidPost": true,
  "FolderPerPost": true,
  "FolderPerPaidMessage": true,
  "FolderPerMessage": true,
  "LimitDownloadRate": false,
  "DownloadLimitInMbPerSec": 4,
  "DownloadOnlySpecificDates": false,
  "DownloadDateSelection": "before",
  "CustomDate": null,
  "ShowScrapeSize": false,
  "DownloadPostsIncrementally": false,
  "NonInteractiveMode": false,
  "NonInteractiveModeListName": "",
  "NonInteractiveModePurchasedTab": false,
  "FFmpegPath": "",
  "BypassContentForCreatorsWhoNoLongerExist": false,
  "CreatorConfigs": {},
  "DownloadDuplicatedMedia": false,
  "IgnoredUsersListName": "",
  "LoggingLevel": "Verbose",
  "IgnoreOwnMessages": true
}

Example

This was a trial scrape on a free subscription account which was not scraped before.
Scrape example

@him3ros
Copy link
Author

him3ros commented Nov 13, 2024

Anyone who is familiar with the codebase have any guidance on this? I saw a similar issue reference in #543, but the issue was resolved by the user using the latest release of the project at the time. I'm currently using the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant