This repository has been archived on 2023-10-20. You can view files and clone it, but cannot push or open issues or pull requests.
hf-key-scraper/huggingface/crawl-site.py

11 lines
298 B
Python

from scrapy.crawler import CrawlerProcess
from scrapy.utils.project import get_project_settings
from huggingface.spiders.huggingface import HuggingfaceSpider
if __name__ == "__main__":
process = CrawlerProcess(get_project_settings())
process.crawl(HuggingfaceSpider)
process.start()