LucasLeandro1204 / Pornsearch

Easy way to search for porn content!
MIT License
329 stars 68 forks source link

driver not defined #29

Closed gillesheinesch closed 5 years ago

gillesheinesch commented 5 years ago

This is my current code:

const Pornsearch = require('pornsearch');
const Searcher = new Pornsearch(args.slice().join(' '), driver = 'redtube');

I am getting the error: ReferenceError: driver is not defined

How to fix this?

Thanks!

metehus commented 5 years ago

hi, thanks for contacting our support, please follow the instructions below to fix your problem:

driver is not defined, please define it

thanks for your attention. can you please rate this support message: ⭐⭐⭐⭐⭐

gillesheinesch commented 5 years ago

What? i took the example from your README.md @metehus

metehus commented 5 years ago

sorry im just kidding, you just need to remove this variable, thats just a information thing:

const Pornsearch = require('pornsearch');
const Searcher = new Pornsearch(args.slice().join(' '), 'redtube');