you-get icon indicating copy to clipboard operation
you-get copied to clipboard

[Pornhub]Add support

Open Rokicto opened this issue 9 years ago • 10 comments

New extractor and test for pornhub.


This change is Reviewable

Rokicto avatar Mar 24 '16 18:03 Rokicto

Hello @Rokicto, Thanks for the Pull Request. We :heart: our contributors! Please wait for one of our human maintainers to review your patches. This may take a few days to weeks. Also, please understand that although your Pull Request may or may not be eventually merged, we value all contributions equally.

祝您健康!

soimort-bot avatar Mar 24 '16 18:03 soimort-bot

Hi,

Thanks for the effort.

Grateful as we are, I do not have enough confidence whether it is @soimort , the author's willing to add such kind of website support to you-get.

Again thanks for your effort and your time. Have a wonderful day.

Yours, Beining

cnbeining avatar Mar 24 '16 18:03 cnbeining

该来的总是会来。。。

zhangn1985 avatar Mar 25 '16 01:03 zhangn1985

可以开车了?

nuomi1 avatar Mar 25 '16 04:03 nuomi1

var player_quality_720p = '//cdn-d-vid-public.pornhub.com/videos/201602/09/68211981/720P_1500K_68211981.mp4?ttl=1458907041&ri=1024000&rs=1600&hash=8527f6f65a34cb4166d4126eb06f1d64';var player_quality_240p = '//cdn-d-vid-public.pornhub.com/videos/201602/09/68211981/240P_400K_68211981.mp4?ttl=1458907041&ri=1024000&rs=488&hash=6dc4dd9e5192fa24ff5b96911affd63c';var player_quality_480p = '//cdn-d-vid-public.pornhub.com/videos/201602/09/68211981/480P_600K_68211981.mp4?ttl=1458907041&ri=1024000&rs=920&hash=e30107eac5adf5e94f3f3703987f3bfe';var player_mp4_seek = 'start';

zhangn1985 avatar Mar 25 '16 11:03 zhangn1985

@zhangn1985 Anything wrong with those videos? Please attach original urls if you-get does't work on them. thx.

Rokicto avatar Mar 25 '16 18:03 Rokicto

@Rokicto http://www.pornhub.com/embed/ph56d67b6c6505e has only 1 video quality. http://www.pornhub.com/view_video.php?viewkey=ph56d67b6c6505e has 3 video quality.

it's better to get video url from http://www.pornhub.com/view_video.php?viewkey=ph56d67b6c6505e

zhangn1985 avatar Mar 25 '16 22:03 zhangn1985

I'm not able to maintain site support like this, because they are... too many. And because most of them are rather easy to implement, I'm afraid that merging all things like this will make our repo too bloated.

Notice that the universal extractor was able to handle a few similar sites (xvideos, xhamster, ...), so if there's a more universal way to do this, I'm happy to hear about it.

For now, you may leave the PR open if you like, in case someone needs it they can just pull in your fork themselves.

soimort avatar Mar 26 '16 14:03 soimort

image

cnbeining avatar May 06 '16 03:05 cnbeining

thx for the extractor. I'm gonna use it to make an iOS shortcut for pornhub.:grin:

waysup avatar Dec 22 '18 08:12 waysup