This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requirements list | |
# gspread | |
#oauth2client | |
#PyOpenSSL | |
# DOC http://gspread.readthedocs.io/en/latest/oauth2.html | |
import gspread | |
from oauth2client.service_account import ServiceAccountCredentials |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
''' | |
InFB - Information Facebook | |
Usage: infb.py user@domain.tld password | |
infb.py | |
http://ruel.me |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (;;);{"__ar":1,"__sf":"h0","payload":null,"jsmods":{"instances":[["__inst_ead1e565_1f_0",["DialogX","LayerHideOnEscape","DialogHideOnSuccess","LayerDestroyOnHide","LayerHideOnTransition","LayerRemoveOnHide","DialogExpansion","__markup_835c633a_1f_0"],[{"width":788,"autohide":null,"titleID":"u_1f_0","redirectURI":null,"fixedTopPosition":null,"ignoreFixedTopInShortViewport":false,"label":null,"labelledBy":null,"modal":true,"xui":true,"causalElement":{"__rel":1},"addedBehaviors":[{"__m":"LayerHideOnEscape"},{"__m":"DialogHideOnSuccess"},{"__m":"LayerDestroyOnHide"},{"__m":"LayerHideOnTransition"},{"__m":"LayerRemoveOnHide"},{"__m":"DialogExpansion"}],"classNames":["_14x7"]},{"__m":"__markup_835c633a_1f_0"}],4],["__inst_8f084707_1f_0",["WebAsyncSearchSource"],[{"bootstrapRequests":[{"uri":"\/event\/typeahead\/invite_bootstrap\/?event_id=263823244066389&subtitles=1","data":{"viewer":100004182637538,"token":"v7","filter":["user"],"options":["friends_only"],"context":"event_invite"}}],"queryRequests":[{"uri":"\/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import json | |
import re | |
# Import Scrapy stuff | |
import scrapy | |
import time | |
from scrapy import signals | |
from scrapy.http import HtmlResponse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
est = su.find_all("div", class_="zestimate-value") | |
for es in est: | |
es_text = es.text | |
if "/mo" in es_text: | |
output["Rent Zestimate"] = es_text.replace("$","") | |
print(" RENT EST:", es_text.strip()) | |
else: | |
output["Zestimate"] = es_text.replace("$","") | |
print("ZEST EST:", es_text) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import re | |
import math | |
import csv | |
from selenium import webdriver | |
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities | |
driver = webdriver.Remote(command_executor='http://127.0.0.1:4444/wd/hub', desired_capabilities=DesiredCapabilities.CHROME) | |
# driver = webdriver.Chrome() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import socket | |
import socks | |
import csv | |
import sqlite3 | |
import datetime | |
from scrapy.http import HtmlResponse | |
socks.set_default_proxy(socks.SOCKS5, "proxy.torguard.io", 1090, username="", password="") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
import time | |
import re | |
import math | |
import csv | |
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities | |
driver = webdriver.Remote(command_executor='http://127.0.0.1:4444/wd/hub', desired_capabilities=DesiredCapabilities.CHROME) | |
# driver = webdriver.Chrome() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
import time | |
import re | |
import csv | |
import math | |
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities | |
# driver = webdriver.Remote(command_executor='http://127.0.0.1:4444/wd/hub', desired_capabilities=DesiredCapabilities.CHROME) | |
driver = webdriver.Chrome() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input_data = { | |
'format': | |
[ | |
{ | |
'item_name': 'name', | |
'xpath': '//*[@id="topicPath"]/li[2]/text()', | |
'regex_match': 'Null', | |
'regex_item': 'Null', | |
'remove_tag': ''}, | |
{ |