Comments (20)
@pionxzh Hello! Did you had any success adding this feature of finding the right api call for it?
from pornhub.js.
I'm not sure is the "models" idea exist back to the time I create this library, but yes I think it's a good idea to add this!
from pornhub.js.
Sorry for being so late.
I just check the website and try to find "models", could you provide any examples for me to check? ๐
I couldn't find any ๐ข
I will put it here as a reference
https://www.pornhub.com/model/rolakiki/videos
from pornhub.js.
@ShadowBr0ther @chocobearxo
Currently, pornhub doesn't provide any API/page to "search" for models.
I can integrate the auto-complete API to get a list of the model's "name", I'm not sure if this is good enough to meet your requirements.
from pornhub.js.
Oh okay.
Yeah that would be nice to ๐
Do you have a API documentation from pornhub? I can't find anything out there
from pornhub.js.
Oh okay.
Yeah that would be nice to ๐
Do you have a API documentation from pornhub? I can't find anything out there
No, I just realized currently my repo is the best API document for pornhub. Lol
I already forgot how I get the API spec and document when I created this library. ๐ฅ
from pornhub.js.
Yeah it totally is the best documentation out there. Shame on Pornhub
from pornhub.js.
@ShadowBr0ther and @chocobearxo
could you guys share more about what you need?
For now, these are the things that I can implement:
- Fuzzy searching for models
=>luna
->
// name only
// limit: 10 results
[
"Luna Okko",
"Luna Roulette",
"lunaalessandra",
...
]
- API for
name
->model page
?
=>luna okko
-> https://cn.pornhub.com/model/luna-okko - API for
name
->model information(scraping)
?
=>luna okko
->
{
name: "",
gender: "female",
otherProperties: true,
}
If we do 1
first and do 3
on each of the results, I'm worrying about triggering the soft ban.
so maybe I can provide all of these APIs, and you guys can combine them on your own?
from pornhub.js.
Sounds good!
How did you find those apis and ways to get the data, besides scraping?
from pornhub.js.
Sounds good! How did you find those apis and ways to get the data, besides scraping?
I alr lost the magic to get the API spec ๐คฃ
now it's more like finding things in network panel
from pornhub.js.
okay ^^
from pornhub.js.
@ShadowBr0ther FYI, I'm working on V2 which will be migrated to fully Typescript.
I just implemented the AutoComplete
and searchModel API.
Just want to double-check with you, do you still need this?
API for name -> model information(scraping)?
And I think the new version should be a better document for you^^
from pornhub.js.
from pornhub.js.
Just curious, what would we be able to search for in v2? :)
from pornhub.js.
Just curious, what would we be able to search for in v2? :)
What do you mean ๐คฃ
It was v0.3.0
, now v1
You can find all of the search types here
https://github.com/pionxzh/Pornhub.js/blob/master/doc/Search.md
If you need any unsupported new search type, please open a new feature request.
from pornhub.js.
You just said "I'm working on V2"? XD
from pornhub.js.
I thought it was V1, so the next one should be... V2. ๐
from pornhub.js.
Bruh so what would we be able to search for in the next version? ๐
from pornhub.js.
I will integrate google so that users can search for anything they want ๐คฃ
from pornhub.js.
I only need it for p*rn ๐
from pornhub.js.
Related Issues (20)
- align `views` format in `video` and `searchVideo`
- Got 403 Forbidden with `video` HOT 61
- Got 403 Forbidden with `recommendedVideos` HOT 1
- `randomVideo()` returns false information HOT 2
- Feature request: `gif(url)` for GIF page HOT 2
- can you return a m3u8 link on const video = await pornhub.video(url)? HOT 1
- The `recommendedVideos` function always returns empty result HOT 34
- Non-ASCII Characters for search queries are not supported
- Feature Request: Video Previews (.webm)
- ๆฏไปไน่ฎฉไฝ ๆณๅฐ่ฆๅ่ฟไธช้กน็ฎ๏ผ HOT 2
- Is there an option for random videos from pornhub HOT 1
- How to use this package without vpn HOT 1
- How come only models and not pornstars has a `mostRecentVideos` property? HOT 1
- `<pornstar>.mostRecentVideos` returns empty array if no recent UPLOADED videos, but with recent TAGGED videos. HOT 2
- how to convert Embed Url Pornhub to hls m3u8 play HOT 1
- How to list videos and data from models based country HOT 4
- All videos are returning 404 HOT 4
- Video sources returns empty array HOT 3
- v 1.12.2 not yet available in npm HOT 1
- Invalid json response body HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pornhub.js.