Skip to content

Instantly share code, notes, and snippets.

View stuartchaney's full-sized avatar
💥

Stuart Chaney stuartchaney

💥
View GitHub Profile
@jpsilvashy
jpsilvashy / facebook_url_to_id.rb
Created April 24, 2019 15:08
Use findmyfbid.com to get facebook ids from URLs
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}"