Skip to content

demo code error (pip installing the wrong version) #19

Open
@AcGW-RErCotWd

Description

@AcGW-RErCotWd

When initializing the client with search keywords, demo code says:
keywords = ["word1", "word2"]
client = pornhub.PornHub(keywords)

But given the params of Pornhub is init(self, ProxyIP=None, ProxyPort=None, keywords=[], *args), the demo code actually assigns keywords to the ProxyIP, which took me some time to troubleshoot this minor error.

Correct demo code should be:
keywords = ["word1", "word2"]
client = pornhub.PornHub(keywords=keywords)

, where the input is assign to the keywords param

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions