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

[BUG] API doesnt return right video information #54

Open
DNAScanner opened this issue Sep 28, 2022 · 0 comments
Open

[BUG] API doesnt return right video information #54

DNAScanner opened this issue Sep 28, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DNAScanner
Copy link

DNAScanner commented Sep 28, 2022

Describe the bug
I set "https://www.pornhub.com/view_video.php?viewkey=ph6069d3ff13070" as the URL, but I somehow get the information to another video. Even if I try that some URL in my browser, I get the right video, but just not with this package
Returnment:

{
	"title": "Tons of Hard Cobs getting Grabbed",
	"views": "182,120",
	"up_votes": 937,
	"down_votes": 104,
	"percent": 90,
	"author": "No Data",
	"categories": ["HD Porn", "SFW", "Suggest"],
	"tags": ["cornhub", "corn", "hardcorn", "Suggest"],
	"production": "professional",
	"description": "Watch Tons of hard cobs getting grabbed on Pornhub.com, the best hardcore porn site. Pornhub is home to the widest selection of free SFW sex videos full of the hottest pornstars. If you're craving cornhub XXX movies you'll find them here.",
	"duration": 12,
	"upload_date": "2016-03-21T18:42:24.000Z",
	"pornstars": "No Data",
	"thumbnail_url": "https://ei.phncdn.com/videos/201603/21/71659671/original/(m=eaAaGwObaaaa)(mh=QN7G_OfyyyoCYqcl)8.jpg",
	"number_of_comment": 37
}

To Reproduce
I just executed this:

await pornhub.page(`https://www.pornhub.com/view_video.php?viewkey=ph6069d3ff13070`, ["title", "description", "views", "up_votes", "down_votes", "percent", "author", "pornstars", "categories", "tags", "production", "duration", "number_of_comment", "thumbnail_url", "upload_date", "download_urls"]);
@DNAScanner DNAScanner added the bug Something isn't working label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants