-
-
Notifications
You must be signed in to change notification settings - Fork 46.5k
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
Create instagram_crawler.py #2509
Conversation
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Hey @yogeshwaran01, TravisCI finished with status TravisBuddy Request Identifier: 30438200-024d-11eb-aba2-872ffb2742c8 |
Hey @yogeshwaran01, TravisCI finished with status TravisBuddy Request Identifier: 304333e0-024d-11eb-aba2-872ffb2742c8 |
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
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.
done
Requested changes are commited. |
web_programming/instagram_crawler.py
Outdated
return info["username"] | ||
|
||
@property | ||
def profile_picture_url(self) -> str: |
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.
requested changes done
Travis tests have failedHey @yogeshwaran01, TravisBuddy Request Identifier: e41c8a80-025a-11eb-aba2-872ffb2742c8 |
Hey @yogeshwaran01, TravisCI finished with status TravisBuddy Request Identifier: 5f37dcd0-025e-11eb-aba2-872ffb2742c8 |
Co-authored-by: Dhruv <dhruvmanila@gmail.com>
Travis tests have failedHey @yogeshwaran01, TravisBuddy Request Identifier: 2a97cec0-0260-11eb-aba2-872ffb2742c8 |
I think the From wikipedia:
Here, you are using a Resources: |
In this repo, we have https://pypi.org/project/fake-useragent/ installed. |
Hey @yogeshwaran01, TravisCI finished with status TravisBuddy Request Identifier: a86adc20-0265-11eb-aba2-872ffb2742c8 |
Please do these small checks locally so that you don't waste your time editing over and over again.
|
Sure, I'll take a look at it. I've never tried one, so it will be a fun challenge! There are also those |
Travis tests have failedHey @yogeshwaran01, TravisBuddy Request Identifier: 8dc39980-0269-11eb-aba2-872ffb2742c8 |
Hey, @yogeshwaran01, Please run this command locally and see what you're getting as the output: pytest --doctest-modules instagram_crawler.py |
It passed the test
|
Wow, It worked! Thank you, @cclauss and @dhruvmanila. |
Your welcome! 🎉 😃 |
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.
Looks good to me. The doctest run locally for both @yogeshwaran01 and I but they fail on Travis CI.
There is a gold star for whoever can make the doctests pass under Travis CI. |
* Create instagram_crawler.py * codespell --ignore-words-list=followings * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update instagram_crawler.py * Add doctests * fixup! except (json.decoder.JSONDecodeError, KeyError): * if getenv("CONTINUOUS_INTEGRATION"): return * Update instagram_crawler.py * Update web_programming/instagram_crawler.py Co-authored-by: Dhruv <dhruvmanila@gmail.com> * added fake_useragent * Update instagram_crawler.py * Comment out doctests Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: Dhruv <dhruvmanila@gmail.com>
* Create instagram_crawler.py * codespell --ignore-words-list=followings * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update web_programming/instagram_crawler.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update instagram_crawler.py * Add doctests * fixup! except (json.decoder.JSONDecodeError, KeyError): * if getenv("CONTINUOUS_INTEGRATION"): return * Update instagram_crawler.py * Update web_programming/instagram_crawler.py Co-authored-by: Dhruv <dhruvmanila@gmail.com> * added fake_useragent * Update instagram_crawler.py * Comment out doctests Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: Dhruv <dhruvmanila@gmail.com>
Describe your change:
Crawl the Instagram users information
Checklist:
Fixes: #{$ISSUE_NO}
.