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

Connection Error #4

Closed
matcha6666 opened this issue Sep 3, 2023 · 11 comments
Closed

Connection Error #4

matcha6666 opened this issue Sep 3, 2023 · 11 comments

Comments

@matcha6666
Copy link

matcha6666 commented Sep 3, 2023

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

@EchterAlsFake
Copy link
Owner

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 :)

@EchterAlsFake EchterAlsFake pinned this issue Sep 3, 2023
@EchterAlsFake EchterAlsFake changed the title report error Connection Error Sep 3, 2023
@matcha6666
Copy link
Author

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

@EchterAlsFake
Copy link
Owner

Hey,

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

  • The video url
  • The version you are using

Thanks :)

@matcha6666
Copy link
Author

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
Copy link
Owner

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
Copy link
Owner

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
Copy link
Author

ok,I hope you can solve it perfectly

@EchterAlsFake
Copy link
Owner

Fixed with Release 2.7 :)

@matcha6666
Copy link
Author

在 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
Copy link
Owner

EchterAlsFake commented Sep 22, 2023

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 EchterAlsFake reopened this Sep 22, 2023
@EchterAlsFake
Copy link
Owner

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)

@EchterAlsFake EchterAlsFake unpinned this issue Oct 2, 2023
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

2 participants