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
Raw Normal View History

2023-07-23 18:11:48 -06:00
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()