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