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
#Scrape Redbubble's sitemap to get the most popular searches etc.. | |
#XIT07 | |
#Python | |
import requests, csv | |
from bs4 import BeautifulSoup | |
from datetime import datetime | |
today = datetime.now() | |
url = 'https://www.redbubble.com/sitemap/new_works_00001.xml' | |
def datas(url): | |
r = requests.get(url) |