I really enjoy this series and will probably need to replay it in the future. this is helpful and practical as it shows the whole process on how to approach it. thank you John.
Thanks for another informative video! There is one tiny concern with the append_to_csv code. The file lacks the normal (but optional per RFC 4180) header that some apps expect or that may be needed if there were more fields in the file. This small change would create the header line just once when the file is created. Before the with block simply add this little bit of code: # Check if the file exists if not os.path.exists('append.csv'): # Open file in write mode to write the header line with open('append.csv', 'w') as f: writer = csv.DictWriter(f, field_names) writer.writeheader()
John, Another great presentaion! Also the program is very logically developed. I liked to see list compressions. Another idea I think. Could have a GUI front end where user inputs some conditions or product categories or names or whatever, and the program returns records based on the conditions either one at a time or in a table on the form. Just a thought. Thanks!
Thanks for information but I have a question about something similar to this topic. If I have an local web page and I have some graphics in jpg format, how do I scrap them or store them in a specific file by using a web scraper? Thanks alot for all info
I am scrapping a online shopping site With from last 10days it's doesn't work properly After 3-4 times scan it take about 15-20X more time to scan And after again it work smooth for 2-3 times and then again it take lots of time Why it's happing I m using scrapy py
Thanks bro for sharing the great content, So if you not have any issue can you make the same or another web scraping content in object oriented programming concept.
I really enjoy this series and will probably need to replay it in the future. this is helpful and practical as it shows the whole process on how to approach it.
thank you John.
Still waiting for the neovim set up video ❤
Thanks for another informative video!
There is one tiny concern with the append_to_csv code. The file lacks the normal (but optional per RFC 4180) header that some apps expect or that may be needed if there were more fields in the file. This small change would create the header line just once when the file is created. Before the with block simply add this little bit of code:
# Check if the file exists
if not os.path.exists('append.csv'):
# Open file in write mode to write the header line
with open('append.csv', 'w') as f:
writer = csv.DictWriter(f, field_names)
writer.writeheader()
John thanks a lot for your videos! They are really interesting and well made, i learnt a lot with you! Many thanks! CHEERS!
John,
Another great presentaion!
Also the program is very logically developed.
I liked to see list compressions.
Another idea I think. Could have a GUI front end where user inputs some conditions or product categories or names or whatever, and the program returns records based on the conditions either one at a time or in a table on the form. Just a thought.
Thanks!
Wouldn't the clean_data function also remove the word "Item" and "$" from the name of the product too?
Thanks for information but I have a question about something similar to this topic. If I have an local web page and I have some graphics in jpg format, how do I scrap them or store them in a specific file by using a web scraper? Thanks alot for all info
I am scrapping a online shopping site
With from last 10days it's doesn't work properly
After 3-4 times scan it take about 15-20X more time to scan
And after again it work smooth for 2-3 times and then again it take lots of time
Why it's happing
I m using scrapy py
Thanks bro for sharing the great content, So if you not have any issue can you make the same or another web scraping content in object oriented programming concept.
🧡
Can you scrape bet365?