web_scap #1

Merged
v4l3n71n merged 11 commits from web_scap into master 2023-03-07 11:28:15 +00:00
Showing only changes of commit 4de811c607 - Show all commits

View File

@ -5,6 +5,10 @@ from bs4 import BeautifulSoup
from urllib.parse import urlparse
import requests, os
BACKUP_DIR = "backup"
URL = "www.clarissariviere.com"
def mkdir_path(path_dir):
if not os.path.exists(path_dir):
makedir = []
@ -15,11 +19,8 @@ def mkdir_path(path_dir):
if not os.path.exists(repath):
os.mkdir(repath)
BACKUP_DIR = "backup"
mkdir_path(BACKUP_DIR)
URL = "www.clarissariviere.com"
page = requests.get("https://{0}".format(URL))