Skip to content

Instantly share code, notes, and snippets.

View Rocavall's full-sized avatar

Adrià Rocavall

View GitHub Profile
# Downloads wallpapers from wallpaperscraft.com to a folder
from lxml import html
import urllib.request
import requests
import os
#import multiprocessing
category = 'nature' # edit this with a category from wallpaperscraft.com
def get_wallpapers(page_index):