Skip to content

Instantly share code, notes, and snippets.

from pathlib import Path
import concurrent.futures
from fake_useragent import UserAgent
import requests
ARTICLE_ENDPOINT = "https://codechalleng.es/api/articles/"
ARTICLE_LINKS = Path("links")
DOWNLOADS_FOLDER = Path("downloads")
HEADERS = {"User-Agent": str(UserAgent().chrome)}