Skip to content

Instantly share code, notes, and snippets.

@DavidCrash
DavidCrash / redbubble_sitemap.py
Created November 10, 2022 20:36 — forked from XIT07/redbubble_sitemap.py
Python , Scrape Redbubble's sitemap to get the most popular searches etc..
#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)