In a message of Wed, 25 Nov 2015 17:28:24 +0800, Crusier writes:
>Dear All,
>
>I am trying to do some web scraping. Attached below is my code:
>
>
>from bs4 import BeautifulSoup
>import requests
>
>#string = str(0175, 0005, 1177)
>url = "https://www.etnet.com.hk/www/eng/stocks/realtime/quote.php?co
Dear All,
I am trying to do some web scraping. Attached below is my code:
from bs4 import BeautifulSoup
import requests
#string = str(0175, 0005, 1177)
url = "https://www.etnet.com.hk/www/eng/stocks/realtime/quote.php?code=0175";
def web_scraper(url):
response = requests.get(url)
html