Skip to content

Instantly share code, notes, and snippets.

@fanzeyi
fanzeyi / fetch.py
Created Apr 5, 2012
备份饭否消息。 非API
View fetch.py
# -*- coding: utf-8 -*-
# AUTHOR: Zeray Rice <fanzeyi1994@gmail.com>
# FILE: main.py
# CREATED: 01:15:37 06/04/2012
# MODIFIED: 01:57:15 06/04/2012
import requests
import datetime
from jinja2 import Environment, FileSystemLoader
from BeautifulSoup import BeautifulSoup