import urllib.request,io,os,sys
req=urllib.request.Request("http://echophp.sinaapp.com/uncategorized/194.html")
f=urllib.request.urlopen(req)
s=f.read()
s=s.decode('utf-8','ignore')
mdir=sys.path[0]+'/'
file=open(mdir+'html.txt','a',1,'gbk')
file.write(s)
file.close()

相关文章:

  • 2021-12-05
  • 2021-11-13
  • 2022-12-23
  • 2022-01-17
  • 2022-01-21
  • 2022-12-23
  • 2021-06-22
猜你喜欢
  • 2021-07-22
  • 2022-12-23
  • 2021-11-26
  • 2021-07-24
  • 2022-12-23
  • 2022-01-21
  • 2022-01-24
相关资源
相似解决方案