Skip to content
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

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
8 changes: 6 additions & 2 deletions scrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Crawler:
Crawler implementation
"""
def __init__(self, seed_urls: list, max_articles: int):
pass
self.seed_urls = []
Copy link
Contributor

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


@staticmethod
def _extract_url(article_bs):
Expand Down Expand Up @@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

2 changes: 1 addition & 1 deletion target_score.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Target score for scrapper.py:
6
8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that s good switch.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that s good switch.

No, I do not think so. It is eminent I'd better switch to 4 or 6 later.


# Target score for pipeline.py:
0