Skip to content

Instantly share code, notes, and snippets.

"""
#爬蟲 (PTT表特版)
#抓取網頁原始碼
import requests
requests.get("https://www.ptt.cc/bbs/beauty/index.html")
res = requests.get("https://www.ptt.cc/bbs/beauty/index.html")
print(res.text)
#操作HTML
from bs4 import BeautifulSoup
soup = BeautifulSoup(res.text,"html.parser")
@jack841002
jack841002 / app.ipynb
Created March 31, 2019 07:12
預測台電2019 4/2~4/8尖峰負載(MW)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.