EchterAlsFake / Porn_Fetch

Cross-Platform Porn (Hub) downloader with Account Login and Searching support
GNU General Public License v3.0
132 stars 22 forks source link

Connection Error #4

Closed matcha6666 closed 1 year ago

matcha6666 commented 1 year ago

Appea mistaker,requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))

EchterAlsFake commented 1 year ago

Hey,

thanks for reporting the error.

I already know about the connection Error, but I can not do anything about it. The problem is with PornHub itself and not with my Application.

The author of the API is working on an update, where he tries to optimize some things, also with the cache stuff to load the content in a better way. I hope that the API update will fix the connection error, but for now I can't do anything.

Just in case you've disabled the delay, you need to enable it.

I leave this open, so that others don't report it for a second time

Have a nice day :)

matcha6666 commented 1 year ago

hi, appear attributeerror: module 'phub.utils' has no attribute 'remove_video_ads'How to solve

EchterAlsFake commented 1 year ago

Hey,

I was not able to reproduce your error. Please give me some additional information:

Thanks :)

matcha6666 commented 1 year ago

edition:Porn_Fetch_2.6 website:https://cn.pornhub.com/model/nobuaki_sekioka Add model/channel,url, appear attributeerror: module 'phub.utils' has no attribute 'remove_video_ads'

EchterAlsFake commented 1 year ago

Thanks for the additional information.

I got it now.

The problem is with the API, I opened an Issue about this on PHUB. I let you know when it's fixed :)

EchterAlsFake commented 1 year ago

Okay, So it is a little bit complicated.

PornHub changed some stuff and that's why some things from the API don't work anymore. There's a fix for it, but if I apply that fix other things are gonna be breaking.

So you need to live with it. Sorry.

matcha6666 commented 1 year ago

ok,I hope you can solve it perfectly

EchterAlsFake commented 1 year ago

Fixed with Release 2.7 :)

matcha6666 commented 1 year ago

在 2.7 版:)中修复

Your repair is perfect. When I used it, I found that the videos retrieved by Add model/channel were not complete enough. For example, the model had 69 videos, and only 61 were retrieved for download. How to retrieve all the videos can be added. Go to the download bar 版本:Porn_Fetch_2.7 网站:https://cn.pornhub.com/model/ada-kham

EchterAlsFake commented 1 year ago

Hi,

I had an Index Error back when I tested it and I thought that would be the Issue, but I just removed the exception and everything worked just fine. I don't know why this happens. Maybe it's an error from PornHub itself that some data is missing. I wil ask the API Deveoper about it. I tell you when it's fixed.

Have an awesome day :)

EchterAlsFake commented 1 year ago

Fixed with newest 2.7 binaries :)

(Just for the future, If you get other issues, please report them in a new thread and not under this one)