import csv import requests import re, os from bs4 import BeautifulSoup