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

Gatherproxy: could not find download link #46

Closed
arfianadam opened this issue Feb 18, 2017 · 3 comments
Closed

Gatherproxy: could not find download link #46

arfianadam opened this issue Feb 18, 2017 · 3 comments
Labels

Comments

@arfianadam
Copy link

arfianadam commented Feb 18, 2017

How to reproduce:

  • Just a fresh install and run the default cli command

Error code:

Error: Could not find download link.
    at Request._callback (/home/arfianadam/work/adam/web-bot/node_modules/proxy-lists/sources/gatherproxy.js:80:15)
    at Request.self.callback (/home/arfianadam/work/adam/web-bot/node_modules/proxy-lists/node_modules/request/request.js:186:22)
    at emitTwo (events.js:106:13)
    at Request.emit (events.js:191:7)
    at Request.<anonymous> (/home/arfianadam/work/adam/web-bot/node_modules/proxy-lists/node_modules/request/request.js:1081:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/home/arfianadam/work/adam/web-bot/node_modules/proxy-lists/node_modules/request/request.js:1001:12)
    at IncomingMessage.g (events.js:291:16)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)

any fix to this?
regardless, thank you for making this!

@chill117
Copy link
Owner

Looks like gatherproxy has changed the HTML of the page with the proxies download link. I can have a look in the next few days.

@chill117 chill117 added the bug label Feb 18, 2017
@arfianadam
Copy link
Author

I've checked the code

var $anchor = $('#body > p a').eq(0);

Gatherproxy's html in http://www.gatherproxy.com/subscribe/infos

<div id="body" class="wrapper">
    <h1 class="page-title">You are logging as *********@yahoo.com</h1>
    <p>&nbsp;</p>
    <p>Expired date: 2/13/2018 9:02:02 AM</p>
    <p>&nbsp;</p>
    <p>
        <a href="/proxylist/downloadproxylist/?sid=*******">Download fully 10011 proxies</a>
        (Last checked past 24 hours - The list is updated continuously per second)
    </p>
    <p>&nbsp;</p>
    ...
</div>

It should return the url correctly. I think it is related to something else?

@chill117
Copy link
Owner

chill117 commented Feb 19, 2017

Thank you for taking the time to research this. I have fixed the issue with this commit. The issue was a redirect to www.gatherproxy.com during the login attempt.

The fix has been included in the latest release (v1.11.1).

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

No branches or pull requests

2 participants