Coverage for src/crawler/by_source/numdam_crawler.py: 0%

9 statements  

« prev     ^ index     » next       coverage.py v7.6.4, created at 2025-01-15 14:09 +0000

1from crawler.base_crawler import BaseCollectionCrawler 

2 

3 

4class NumdamCrawler(BaseCollectionCrawler): 

5 """ 

6 We do not crawl Numdam collections, but the NumdamCrawler is used to have access to 

7 get_or_create_source and get_or_create_period 

8 """ 

9 

10 source_name = "Numdam" 

11 source_domain = "NUMDAM" 

12 source_website = "http://www.numdam.org" 

13 periode_begin = 0 

14 periode_end = 0 

15 

16 def crawl_collection(self): 

17 return {}