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

web scraping part #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

LasithaE
Copy link

@LasithaE LasithaE commented Feb 6, 2021

initial_scrape.py is the main file

initial_scrape.py is the main file
@AthulJoshi
Copy link
Member

@LasithaE. I guess the scraping part works. One suggestion I have is that to make the code a bit more readable as this is an open source Project. That is, It would be better if the variable names are a bit more meaningful.

d3["Type"] = b[2]

f7 = open(
"/Users/Lasitha/Documents/art_tweets/scraped_data/current_tweet.txt", "w+"
Copy link
Contributor

Choose a reason for hiding this comment

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

@LasithaE first of all, congrats on opening the PR! Two comments: next time onwards, please open PRs from a different branch. Also if you check link 179 (and other similar lines throughout), how do you plan to make sure the files exist on the user's PC?

@LasithaE LasithaE closed this Mar 25, 2021
@LasithaE LasithaE reopened this Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants