Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't grab a list of proxies because of TypeError #124

Open
maroz opened this issue May 22, 2020 · 0 comments
Open

Can't grab a list of proxies because of TypeError #124

maroz opened this issue May 22, 2020 · 0 comments

Comments

@maroz
Copy link

maroz commented May 22, 2020

I'm trying to grab a list of proxies using the following command:
$ proxy-lists getProxies --sources-white-list="gatherproxy,sockslist"

Each time I receive the following error message:

$ proxy-lists getProxies --sources-white-list="gatherproxy,sockslist"
internal/util.js:209
    throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'function');
    ^
TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function
    at promisify (internal/util.js:209:11)
    at Object.<anonymous> (/usr/local/lib/node_modules/proxy-lists/node_modules/extract-zip/index.js:11:18)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/proxy-lists/node_modules/puppeteer/lib/BrowserFetcher.js:25:17)

proxy-lists version: proxy-lists@1.23.0

P.S. Actually, each call of proxy-lists returns an error mentioned earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant