Skip to content

Instantly share code, notes, and snippets.


Stu C stuartchaney

View GitHub Profile
jpsilvashy / facebook_url_to_id.rb
Created Apr 24, 2019
Use to get facebook ids from URLs
View facebook_url_to_id.rb
require 'selenium-webdriver'
module ScrapeTools
def self.connect(base_url)
loop do
# proxy
proxy = ProxyServer.get_round_robin # get a proxy that hasent been used lately
puts "[ScrapeTools] trying proxy: #{proxy.as_string}"