sim0n00ps / OF-DL

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

unable to download the content #261

Closed kililua closed 4 months ago

kililua commented 8 months ago

shows this error, how is the solution? help please

Screenshot 2024-01-17 033035

0xdevamg commented 8 months ago

The account that you configure has been banned mate, that's means 403 Forbidden error.

kililua commented 8 months ago

looks like its just downloading the non drm content

Screenshot 2024-01-17 034603

greyhat94 commented 8 months ago

Hi, what kind of version are you using? Is it the first time that you're experiencing this issue? Was everything good with the configuration?

canyud commented 8 months ago

Hi, what kind of version are you using? Is it the first time that you're experiencing this issue? Was everything good with the configuration?

Hi, its the latest one, and yeah my first time experiencing this error.

greyhat94 commented 8 months ago

Was everything good with the configuration of the file? Once you run the programme, is the software able to find the path of "ffmpeg.exe", "auth.json", and "config.json"?

fidelio959 commented 8 months ago

I have the same issue. I cannot download all the videos with no DRM but get an error on paid ones. I update ffmpeg with no luck. Any ideas?

Downloading 2 Messages ---------------------------------------- 0% 0.0/136.3 MB --:--:-- Exception caught: Could not find file __user_data__\sites\OnlyFans\emily.foxxy\Messages\Free\Videos\0hkkavyojtmoykyad3yph_source.mp4'.

StackTrace: at System.IO.FileInfo.get_Length() at OF_DL.Helpers.DownloadHelper.DownloadDrmMedia(String ytdlppath, String mp4decryptpath, String ffmpegpath, String user_agent, String policy, String signature, String kvp, String sess, String url, String decryptionKey, String folder, DateTime lastModified, Int64 media_id, ProgressTask task, String customFileName, String filename, String path, Boolean showScrapeSize) at OF_DL.Helpers.DownloadHelper.DownloadMessageDRMVideo(String ytdlppath, String mp4decryptpath, String ffmpegpath, String user_agent, String pol older, DateTime lastModified, Int64 media_id, ProgressTask Downloading 2 Messages ---------------------------------------- 0% 0.0/136.3 MB --:--:--ctionary`2 users, Config config, Boolean showScrapeSize) Exception caught: Could not find file __user_data__\sites\OnlyFans\emily.foxxy\Messages\Free\Videos\0hl2te09ezafsoosu72vz_source.mp4'.

StackTrace: at System.IO.FileInfo.get_Length() at OF_DL.Helpers.DownloadHelper.DownloadDrmMedia(String ytdlppath, String mp4decryptpath, String ffmpegpath, String user_agent, String policy, String signature, String kvp, String sess, String url, String decryptionKey, String folder, DateTime lastModified, Int64 media_id, ProgressTask task, String customFileName, String filename, String path, Boolean showScrapeSize) at OF_DL.Helpers.DownloadHelper.DownloadMessageDRMVideo(String ytdlppath, String mp4decryptpath, String ffmpegpath, String user_agent, String pol older, DateTime lastModified, Int64 media_id, ProgressTask Downloading 2 Messages ---------------------------------------- 0% 136.3 MB 00:00:00 ctionary`2 users, Config config, Boolean showScrapeSize)

Messages Already Downloaded: 2 New Messages Downloaded: 0 Getting Paid Messages Found 0 Paid Messages

canyud commented 8 months ago

Was everything good with the configuration of the file? Once you run the programme, is the software able to find the path of "ffmpeg.exe", "auth.json", and "config.json"?

Yes, I can log into the program, all auth was good, i just cant download the content of the creator ( the DRM i guess? )

greyhat94 commented 8 months ago

Can you try downloading a single post instead of all the content? I am not an expert on the subject, but I believe that your error may depend on the temporary inactivity of the CDM service. In any case, let me know if you can download a single piece of content. A little while ago, I conducted a test on a single video, almost certainly protected by DRM, and the operation was successful. However, I don't know why, but OnlyFans banned another profile for me, which had never been used either to download content or to subscribe to the profiles of the various creators.

Il mer 17 gen 2024, 20:16 canyud @.***> ha scritto:

Was everything good with the configuration of the file? Once you run the programme, is the software able to find the path of "ffmpeg.exe", "auth.json", and "config.json"?

Yes, I can log into the program, all auth was good, i just cant download the content of the creator ( the DRM i guess? )

— Reply to this email directly, view it on GitHub https://github.com/sim0n00ps/OF-DL/issues/261#issuecomment-1896475734, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3DK2XOIWYY6SJD4GNBBBQTYPAPRDAVCNFSM6AAAAABB5NUS76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGQ3TKNZTGQ . You are receiving this because you commented.Message ID: @.***>

fidelio959 commented 8 months ago

I can tell you that I also tried download a single DRM video with the same error. How can I check if it a problem with CDM service? I am using the same configuration as 10 days ago when I was able to download everything.

fidelio959 commented 8 months ago

At the end I was able to solve the problem. I used the following command to enable proxy in cmd: set HTTP_PROXY=http://userid:password@address:port. It worked till few weeks ago but I don't why it didn't work yesterday. I don't know if there is another way to enable proxy in cmd.

melithine commented 8 months ago

Setting a proxy like that is something you would have to do each terminal session, I believe.

fidelio959 commented 8 months ago

Indeed is what I do each terminal session and it worked fine till yesterday. Using OF-DL with proxy gave me the above error. I did the same thing without proxy and everything worked fine. I don't like to use the tool with my IP but yesterday I did any attempt to make it work. The problem is related to the DRM videos. I don't know if there are some netowrk calls that ffmpeg or CDM does to work properly.

greyhat94 commented 8 months ago

How should I set a proxy from cmd before using this tool? I'd like to avoid making use of this software from my own IP. Were you able to resolve the error about the content not downloading? I'm waiting for your answer.

Il gio 18 gen 2024, 11:14 fidelio959 @.***> ha scritto:

At the end I was able to solve the problem. I used the following command to enable proxy in cmd: set @.***:port. It worked till few weeks ago but I don't why it didn't work yesterday. I don't know if there is another way to enable proxy in cmd.

— Reply to this email directly, view it on GitHub https://github.com/sim0n00ps/OF-DL/issues/261#issuecomment-1898183894, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3DK2XOBGYNCSLD3C3WBFVDYPDYY3AVCNFSM6AAAAABB5NUS76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYGE4DGOBZGQ . You are receiving this because you commented.Message ID: @.***>

fidelio959 commented 8 months ago

I use the following command set HTTP_PROXY=http://userid:password@address:port and for some reason it was wroking well again. I don't know why and how but it did.