擅长:python、mysql、java
<p>首先让你的应用通过oauth2认证。
这是一个如何使用oauth进行twitter身份验证的示例。<a href="http://popdevelop.com/2010/07/an-example-on-how-to-use-oauth-and-python-to-connect-to-twitter/" rel="nofollow">http://popdevelop.com/2010/07/an-example-on-how-to-use-oauth-and-python-to-connect-to-twitter/</a></p>
<p>类似地,您可以在<a href="https://code.google.com" rel="nofollow">https://code.google.com</a>找到更多示例</p>
<p>然后可以使用beauthoulsoup或lxml进行html解析。您可以从页面源中提取相关数据,请求完成后将获得这些数据。在</p>
<p>美化组文档-<a href="http://www.crummy.com/software/BeautifulSoup/" rel="nofollow">http://www.crummy.com/software/BeautifulSoup/</a></p>
<p>要下载图片、视频等,你可以使用开场白。在<a href="http://docs.python.org/library/urllib2.html" rel="nofollow">http://docs.python.org/library/urllib2.html</a>上阅读有关开场白的更多信息</p>