Skip to content

Instantly share code, notes, and snippets.

test
import requests
# get the API KEY here: https://developers.google.com/custom-search/v1
/overview
API_KEY = "AXXXXXXXXXXXXXXXXXXXXXXXYaaDf-NeQil8"
# get your Search Engine ID on your CSE control panel
SEARCH_ENGINE_ID = "6bXXXXXXXXXXX6a"
# the search query you want
query = "jennifer"
"""
Use BeautifulSoup to log into Facebook from the Terminal
"""
import requests
from bs4 import BeautifulSoup
url = 'https://www.facebook.com/login.php'
# Get the login page
Compression