Skip to content

Instantly share code, notes, and snippets.

安装zsh
brew install zsh
设置zsh为默认shell
mate /etc/shells
在文末增加:
/usr/local/bin/zsh
将zsh设置为默认的Shell:
#-*-coding=utf-8-*-
import requests
import re
import time
import random
page=1 #max=79
home='http://91porn.com/video.php?page=%d&category=rf'
cont_reg=re.compile('<a target=blank href="(http://91porn\.com/view_video\.php.*?)" title="')
vid_reg=re.compile('http://91\.p9p\.co/ev\.php\?VID=(.*?)<')