heoijin / bilibili-rnak Goto Github PK
View Code? Open in Web Editor NEWBilibili排行榜-爬虫和数据分析实战
Bilibili排行榜-爬虫和数据分析实战
Traceback (most recent call last):
File "D:\coding\anacoda\lib\site-packages\twisted\internet\defer.py", line 1418, in _inlineCallbacks
result = g.send(result)
StopIteration: <200 https://api.bilibili.com/x/web-interface/archive/stat?bvid=%3Cbuilt-in%20function%20id%3E1Yf4y1174c>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\coding\anacoda\lib\site-packages\scrapy\utils\defer.py", line 55, in mustbe_deferred
result = f(*args, **kw)
File "D:\coding\anacoda\lib\site-packages\scrapy\core\spidermw.py", line 60, in process_spider_input
return scrape_func(response, request, spider)
File "D:\coding\anacoda\lib\site-packages\scrapy\core\scraper.py", line 152, in call_spider
warn_on_generator_with_return_value(spider, callback)
File "D:\coding\anacoda\lib\site-packages\scrapy\utils\misc.py", line 212, in warn_on_generator_with_return_value
if is_generator_with_return_value(callable):
File "D:\coding\anacoda\lib\site-packages\scrapy\utils\misc.py", line 197, in is_generator_with_return_value
tree = ast.parse(dedent(inspect.getsource(callable)))
File "D:\coding\anacoda\lib\ast.py", line 35, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "", line 1
def Get_detail(self,response):
^
IndentationError: unexpected indent
File \Bilibili-Rnak-master\blbl\blbl\spiders\bl.py", line 67, in Get_labels
Tags=html['data'] #视频标签数据
KeyError: 'data'
2020-07-29 10:41:16 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.bilibili.com/ranking/all/155/0/30> (referer: None)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.