[1111] 88程式碼 python

作者: dreamgirl (嘉嘉)   2018-11-11 18:46:28
import urllib.request as urllib2
import time
from bs4 import BeautifulSoup
while(True):
quote_page =
'https://queue.tstartel.com/GTS/specialEnter?msisdn=09X&shopType=A&captchaCode='
page = urllib2.urlopen(quote_page)
soup = BeautifulSoup(page, 'html.parser')
print (soup.prettify())
time.sleep(0.01)
用python3跑
記得先去安裝 pip3 install beautifulsoup4
看到網址就按ctrl+C
補上測試圖https://imgur.com/a/wiPVJXU
再送一個往址:
https://shop.tstartel.com/promo_market/y18bsa01/index.html5cca820f8b4b2838478db86cda2748450f5f7eeeb5d32dac|5cca820f8b4b283806f169af656b7b5d|d17b84705943dfa5|2b1c8f8acb39f79c7910f6cfb95258f4|2c29b7a053b6f50b
作者: Northeagle86 (北極之鷹)   2018-11-11 23:01:00
每行有每行的優勢好不容易處處被打壓的工程師要出頭了還是有人在那邊...

Links booklink

Contact Us: admin [ a t ] ucptt.com