Skip to content

Instantly share code, notes, and snippets.

View XIT07's full-sized avatar
✌️
XIT07

XIT07

✌️
XIT07
View GitHub Profile
@XIT07
XIT07 / redbubble_sitemap.py
Last active November 25, 2022 22:39
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)