Skip to content

Instantly share code, notes, and snippets.

@Gargauth
Created June 28, 2013 20:13
Show Gist options
  • Select an option

  • Save Gargauth/5887726 to your computer and use it in GitHub Desktop.

Select an option

Save Gargauth/5887726 to your computer and use it in GitHub Desktop.
HideMyAss proxy list scraping using jQuery (proof of concept)
var ip = $('table#listtable tbody tr td:nth-of-type(2)');
var port = $('table#listtable tbody tr td:nth-of-type(3)');
$(ip).find(':hidden').remove();
$(ip).each(function(index) {
console.log($(this).text().trim() + ":" + $(port[index]).text().trim() );
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment