Git Product home page Git Product logo

Comments (20)

ShadowBr0ther avatar ShadowBr0ther commented on August 25, 2024 1

@pionxzh Hello! Did you had any success adding this feature of finding the right api call for it?

from pornhub.js.

pionxzh avatar pionxzh commented on August 25, 2024

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.

pionxzh avatar pionxzh commented on August 25, 2024

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.

pionxzh avatar pionxzh commented on August 25, 2024

@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.

ShadowBr0ther avatar ShadowBr0ther commented on August 25, 2024

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.

pionxzh avatar pionxzh commented on August 25, 2024

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.

ShadowBr0ther avatar ShadowBr0ther commented on August 25, 2024

Yeah it totally is the best documentation out there. Shame on Pornhub

from pornhub.js.

pionxzh avatar pionxzh commented on August 25, 2024

@ShadowBr0ther and @chocobearxo
could you guys share more about what you need?

For now, these are the things that I can implement:

  1. Fuzzy searching for models
    => luna ->
// name only
// limit: 10 results
[
    "Luna Okko",
    "Luna Roulette",
    "lunaalessandra",
    ...
]
  1. API for name -> model page?
    => luna okko -> https://cn.pornhub.com/model/luna-okko
  2. 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.

ShadowBr0ther avatar ShadowBr0ther commented on August 25, 2024

Sounds good!
How did you find those apis and ways to get the data, besides scraping?

from pornhub.js.

pionxzh avatar pionxzh commented on August 25, 2024

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.

ShadowBr0ther avatar ShadowBr0ther commented on August 25, 2024

okay ^^

from pornhub.js.

pionxzh avatar pionxzh commented on August 25, 2024

@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.

ShadowBr0ther avatar ShadowBr0ther commented on August 25, 2024

from pornhub.js.

iced-queen avatar iced-queen commented on August 25, 2024

Just curious, what would we be able to search for in v2? :)

from pornhub.js.

pionxzh avatar pionxzh commented on August 25, 2024

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.

iced-queen avatar iced-queen commented on August 25, 2024

You just said "I'm working on V2"? XD

from pornhub.js.

pionxzh avatar pionxzh commented on August 25, 2024

I thought it was V1, so the next one should be... V2. ๐Ÿ˜†

from pornhub.js.

iced-queen avatar iced-queen commented on August 25, 2024

Bruh so what would we be able to search for in the next version? ๐Ÿ˜†

from pornhub.js.

pionxzh avatar pionxzh commented on August 25, 2024

I will integrate google so that users can search for anything they want ๐Ÿคฃ

from pornhub.js.

iced-queen avatar iced-queen commented on August 25, 2024

I only need it for p*rn ๐Ÿ˜‚

from pornhub.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.