This file contains 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
test |
This file contains 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 | |
# 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" |
This file contains 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
""" | |
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 |
This file contains 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
Compression |