Recent content by Leo_Chau_430

  1. Leo_Chau_430

    Comp Sci Automatic Market Research Program

    I was given an Excel that contains a list of products, my teacher would like us to scrap through the website hktvmall.com to find respective similar products and list out their prices and description. FYI:
  2. Leo_Chau_430

    Why Use Python for Web Scraping Instead of Excel?

    Thank you I can see the code now. I think the identation should be correct.
  3. Leo_Chau_430

    Why Use Python for Web Scraping Instead of Excel?

    I have just checked, school_items are blank data sets. However, when I print soup it has a valid output
  4. Leo_Chau_430

    Why Use Python for Web Scraping Instead of Excel?

    Ya I have tried to print out the data but it seems that the data is not extracted properly
  5. Leo_Chau_430

    Why Use Python for Web Scraping Instead of Excel?

    Sorry I am new to this forum, you said your code is as follow, but I cannot see them, where can I find it
  6. Leo_Chau_430

    Why Use Python for Web Scraping Instead of Excel?

    I have found the contact list of the schools on the website https://data.gov.hk/tc/ However the list there do not have the email address of the schools...
  7. Leo_Chau_430

    Why Use Python for Web Scraping Instead of Excel?

    My code is as follow: import pandas as pd from bs4 import BeautifulSoup import requests import os url = 'https://www.goodschool.hk/ss' response = requests.get(url) html = response.content soup = BeautifulSoup(html, 'html.parser') school_items = soup.find_all('div', {'class'...
Back
Top