摘要:1打开编辑器 2撸几行代码 1 import urllib.request 2 3 import urllib.error 4 5 def main(): 6 7 askURl("http://movie.douban.com/top250?start") 8 9 #URL的网页内容 10 def
阅读全文
随笔分类 - python
用python简单爬虫一个网页
摘要:1打开编辑器 2撸几行代码 1 import urllib.request 2 3 import urllib.error 4 5 def main(): 6 7 askURl("http://movie.douban.com/top250?start") 8 9 #URL的网页内容 10 def
阅读全文
|