[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