ajout de catégories à ne pas importer

This commit is contained in:
pivo 2024-11-27 14:42:55 +01:00
parent 1287d9ee06
commit ce602c10bd

View File

@ -10,7 +10,7 @@ class CExtractor(TwoStepsExtractor):
url_referer = "https://lacomediedeclermont.com/saison24-25/"
def is_to_import_from_url(self, url):
if "on-debriefe" in url:
if any(keyword in url for keyword in ["podcast", "on-debriefe", "popcorn", "rencontreautour","rencontre-autour"]):
return False
else:
return True