From f83c6085da3a1a2445b0f76562bdc21d85251d57 Mon Sep 17 00:00:00 2001 From: dece Date: Sat, 6 Nov 2021 16:41:47 +0100 Subject: [PATCH] clean scraping scripts --- build-form-list.py | 2 -- get-definitions.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/build-form-list.py b/build-form-list.py index dfed3dd..d993cb2 100644 --- a/build-form-list.py +++ b/build-form-list.py @@ -1,6 +1,4 @@ import string -import sys -import time import requests from bs4 import BeautifulSoup diff --git a/get-definitions.py b/get-definitions.py index da1e56d..e576bb0 100644 --- a/get-definitions.py +++ b/get-definitions.py @@ -1,4 +1,3 @@ -import os import sys import time import urllib.parse @@ -6,7 +5,6 @@ from pathlib import Path import requests from bs4 import BeautifulSoup -from requests import models BASE_URL = "https://www.cnrtl.fr/definition/"