# Google says don't use this script: https://twitter.com/methode/status/783733724655517696 # This script is a violation of Google Terms of Service. Don't use it. import requests import csv import os import time from bs4 import BeautifulSoup from urllib.parse import urlencode seconds = input('Enter number of seconds to wait between URL checks: ') output = os.path.join(os.path.dirname(__file__), input('Enter a filename (minus file extension): ')+'.csv') urlinput = os.path.join(os.path.dirname(__file__), input('Enter input text file: ')) urls = open(urlinput, "r") proxies = { 'https' : 'https://localhost:8123', 'http' : 'http://localhost:8123' } user_agent = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36' headers = { 'User-Agent' : user_agent} f = csv.writer(open(output, "w+", newline="\n", encoding="utf-8")) f.writerow(["URL", "Indexed"]) for line in iter(urls): query = {'q': 'info:' + line} google = "https://www.google.com/search?" + urlencode(query) data = requests.get(google, headers=headers, proxies=proxies) data.encoding = 'ISO-8859-1' soup = BeautifulSoup(str(data.content), "html.parser") try: check = soup.find(id="rso").find("div").find("div").find("h3").find("a") href = check['href'] f.writerow([line,"True"]) print(line + " is indexed!") except AttributeError: f.writerow([line,"False"]) print(line + " is NOT indexed!") print("Waiting " + str(seconds) + " seconds until checking next URL.\n") time.sleep(float(seconds)) urls.close() INDIA'S TECHNOLOGY ESPN, former Celtics legend Paul Pierce split once wild Instagram Live

ESPN, former Celtics legend Paul Pierce split once wild Instagram Live

 ESPN, former Celtics legend Paul Pierce split once wild Instagram Live


Paul Pierce Former NBA player Paul Pierce Paul Pierce went go on Instagram on weekday night during a area packed with dancers whereas drinking, smoking and enjoying poker with friends. (Maddie Meyer/Getty Images) ESPN compound ways in which with NBA analyst and former state capital Celtics legend Paul Pierce on weekday, simply days once his wild Instagram go on weekday night, consistent with Front workplace Sports’ archangel McCarthy. Pierce has worked for ESPN since he retired from the league once the 2016-17 season, and has been a staple on “NBA count,” “The Jump” and in alternative NBA coverage for the network ever since. Pierce went go on Instagram on weekday night during a area packed with dancers whereas smoking, drinking and apparently enjoying poker along with his friends — all whereas clearly ignoring basic COVID-19 safety protocols. The videos created waves on social media, each throughout the live broadcast and once. Pierce then tweeted future day around eight p.m. PT. He did not appear too daunted by the news on social media, either, as he announce a four second video of him simply happy on weekday afternoon ESPN declined to comment to Front workplace Sports on the news, and Pierce has however to co

Post a Comment

0 Comments