Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Eurosmart
/
airflow-pipeline
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
8935f1a
airflow-pipeline
/
dags
/
CrawDag
/
crawling
/
Crawler.py
Eurosmart
.
2700879
6 months ago
raw
Copy download link
history
blame
Safe
249 Bytes
from
abc
import
ABC, abstractmethod
from
CrawDag.models
import
News
class
Crawler
(
ABC
):
def
__init__
(
self, topics:
dict
[
str
:
str
]
) ->
None
:
self.topics = topics
@abstractmethod
def
crawl
(
self
) ->
list
[News]:
pass