dileme.py
is a simple Python program used to scrape magazine covers of https://dilemaveche.ro
using BeautifulSoup
.
pip install -r requirements.txt
python3 dileme.py <path_to_directory> <number_of_issues_to_save>
-
Recommended
path_to_directory
is./arhiva/
, as this has already been added to.gitignore
-
There is no maximum
number_of_issues_to_save
, but saving more than the latest issue number may provide duplicates. Checkhttps://dilemaveche.ro/galerie/coperta-saptamanii
for the latest issue number.