1.0.0 (2022-10-23)
⚠ BREAKING CHANGES
- Rewrite with TypeScript (7014d11)
Features
- Support
PornstarandModelPage (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)