python onepage.py
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python onepage.py相关的知识,希望对你有一定的参考价值。
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Sources:
one・一个
首页 (cover & quote)
文章
问题
东西
每日一文
V2EX
Today Top 10
好奇心日报
知乎
知乎日报
今日最热
什么值得买
Solidot
PingWest
快讯
36Kr
8点1氪
NEXT
Github
Trending (today)
Hacker News
Designer News
Dribbble
Popular Shots This Past Week
Pinboard
popular
Twitter
List (only the List, not your stream, because List is more purposive)
"""
class OneSource(BaseSource):
def fetch(self):
pass
class MeiriyiwenSource(BaseSource):
url = 'http://api.meiriyiwen.com/v2/day?date=20141125&version=4'
def fetch(self):
pass
class V2EXSource(BaseSource):
url = 'http://www.v2ex.com/api/topics/hot.json'
def fetch(self):
pass
class QDailySource(BaseSource):
url = 'http://qdaily.com/app/homes?page=1'
def fetch(self):
pass
class ZhihuSource(BaseSource):
daily_url = 'http://news-at.zhihu.com/api/3/stories/latest'
def fetch(self):
pass
以上是关于python onepage.py的主要内容,如果未能解决你的问题,请参考以下文章
001--python全栈--基础知识--python安装
Python代写,Python作业代写,代写Python,代做Python
Python开发
Python,python,python
Python 介绍
Python学习之认识python