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

Error when downloading content from a model

Open greyhat94 opened this issue 1 year ago • 8 comments

I have downloaded successfully the content of a model. Then, I started doing the same with another creator. However, I have got this error, and I don't know how to fix it up:

Exception caught: The SSL connection could not be established, see inner exception.

StackTrace:    at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
  at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
  at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
  at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
  at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
  at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
  at OF_DL.Helpers.APIHelper.GetDecryptionKey(Dictionary`2 drmHeaders, String licenceURL, String pssh, Auth auth)

Inner Exception:
Exception caught:  Received an unexpected EOF or 0 bytes from the transport stream.

StackTrace:    at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](CancellationToken cancellationToken)
  at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
  at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
Exception caught: Object reference not set to an instance of an object.

StackTrace:    at OF_DL.Helpers.DownloadHelper.DownloadDrmMedia(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.DownloadPostDRMVideo(String ffmpegpath, String user_agent, String policy, String signature, String kvp, String sess, String url, String decryptionKey, String folder, DateTime lastModified, Int64 media_id,                                                                   stMedia, Author author, Dictionary`2 users, Config con
Downloading 76 Posts ----------------------------------------   0%

Please, help me. I rely on your support. I encounter this issue when using VPN and without it.

greyhat94 avatar Feb 17 '24 21:02 greyhat94

Which VPN are you using?

sim0n00ps avatar Feb 18 '24 19:02 sim0n00ps

I am using SurfShark VPN.

Il dom 18 feb 2024, 20:20 sim0n00ps @.***> ha scritto:

Which VPN are you using?

— Reply to this email directly, view it on GitHub https://github.com/sim0n00ps/OF-DL/issues/282#issuecomment-1951420221, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3DK2XMLEUKBL5AXF7NOQ63YUJIBNAVCNFSM6AAAAABDNS4DMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGQZDAMRSGE . You are receiving this because you authored the thread.Message ID: @.***>

greyhat94 avatar Feb 19 '24 01:02 greyhat94

I use NordVPN and face 0 issues, so maybe try that or any other VPN provider

sim0n00ps avatar Feb 19 '24 01:02 sim0n00ps

I've noticed another strange issue. I don't know if it depends on DRM or something like that, but it looks like it detects less media files than the originals. For example, if the model has 365 videos, the scraper detects that she post 341 videos.

greyhat94 avatar Feb 22 '24 13:02 greyhat94

I've noticed another strange issue. I don't know if it depends on DRM or something like that, but it looks like it detects less media files than the originals. For example, if the model has 365 videos, the scraper detects that she post 341 videos.

I suspect that some of them would be considered PaidPosts (PPV posts that require unlocking) and some of them would just be Posts.

melithine avatar Feb 22 '24 15:02 melithine

I've noticed another strange issue. I don't know if it depends on DRM or something like that, but it looks like it detects less media files than the originals. For example, if the model has 365 videos, the scraper detects that she post 341 videos.

I suspect that some of them would be considered PaidPosts (PPV posts that require unlocking) and some of them would just be Posts.

Thanks for your prompt response. Is this type of detection correct or could it be a software processing error regarding the type of content, which can be blocked or free?

greyhat94 avatar Feb 22 '24 18:02 greyhat94

I suspect that some of them would be considered PaidPosts (PPV posts that require unlocking) and some of them would just be Posts.

Thanks for your prompt response. Is this type of detection correct or could it be a software processing error regarding the type of content, which can be blocked or free?

OF-DL's logic is correct. PaidPosts only consist of posts on the model's timeline that you have to unlock with $. PaidMessages are the same, just on the message view instead of the timeline. Anything else is considered free, because OF-DL can't associate however you may have tipped for something with whatever content the model sent in return. The Paid description in OF-DL specifically only refers to unlockable PPV content.

if i recall correctly, OF has a vault feature that contains all the stuff you purchased from PPVs, which persists even after the model has retired and taken their content down from the platform entirely. Items sent by a model in exchange for things like tipping on a goal, or a vote, or a campaign do not count towards that feature, and that content would be lost if the model retires and takes down their content completely. Directly unlocked PPVs would remain accessible even after that point.

melithine avatar Feb 29 '24 12:02 melithine

I've noticed another strange issue. I don't know if it depends on DRM or something like that, but it looks like it detects less media files than the originals. For example, if the model has 365 videos, the scraper detects that she post 341 videos.

Duplicate media that has the same ID, any dupes are skipped and only downloaded once, that is why you might see a mismatch with the counts

sim0n00ps avatar Feb 29 '24 21:02 sim0n00ps

Hey @sim0n00ps regarding to media with same ID, is it any way to fix this? I have 3 messages that i´m trying to download but sometimes program only shows 2, and some other times shows 3 messages but only downloads 2, skipping a video.... How could we fix this? Maybe it has something to do with DRM? (i´ve already tryied DRM downloader too but still not working) image image

topzs123 avatar May 29 '24 22:05 topzs123