-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dataset Collector #1, Chudinova Alla - 19FPL2 #37
base: main
Are you sure you want to change the base?
Changes from 2 commits
8e7ef83
9b85d53
3093ddf
d457510
8b29ba8
e180f47
660637c
13a0982
de6c71f
bd71d25
d9ee31e
5ced262
d831701
bbe41b0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ class Crawler: | |
Crawler implementation | ||
""" | ||
def __init__(self, seed_urls: list, max_articles: int): | ||
pass | ||
self.seed_urls = [] | ||
|
||
@staticmethod | ||
def _extract_url(article_bs): | ||
|
@@ -94,4 +94,8 @@ def validate_config(crawler_path): | |
|
||
if __name__ == '__main__': | ||
# YOUR CODE HERE | ||
pass | ||
response = requests.get('') | ||
print('') | ||
sleep (5) #import time first | ||
response = request.get | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's start to implement code. I think it's a good time. |
||
#ILY | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ? |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Target score for scrapper.py: | ||
6 | ||
8 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, that s good switch. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
No, I do not think so. It is eminent I'd better switch to 4 or 6 later. |
||
|
||
# Target score for pipeline.py: | ||
0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initialize other params in the constructor