github pionxzh/Pornhub.js v1.0.0

latest releases: pornhub.js-v1.15.0, pornhub.js-v1.14.1, pornhub.js-v1.14.0...
4 years ago

1.0.0 (2022-10-23)

⚠ BREAKING CHANGES

  • Rewrite with TypeScript (7014d11)

Features

  • Support Pornstar and Model Page (37be912)
    // pornhub.pornstar('Eva Elfie')
    const result = await pornhub.pornstar('https://www.pornhub.com/pornstar/eva-elfie')
    console.log(result)
    
    // pornhub.model('Luna Okko')
    const result = await pornhub.model('https://www.pornhub.com/model/luna-okko')
    console.log(result)
  • Support searching for Model (e19a1b8)
    const result = await pornhub.searchModel('Luna Okko')
    console.log(result)
  • Support AutoComplete API (e19a1b8)
    const result = await pornhub.autoComplete('keyword')
    console.log(result)

Bug Fixes

  • Fix #27
    • With workaround
    const pornhub = new Pornhub()
    // make this as the first call
    await pornhub.warmup()
    
    // some other calls
    // await pornhub.video(url)

Don't miss a new Pornhub.js release

NewReleases is sending notifications on new releases.