Skip to content

Instantly share code, notes, and snippets.

@0oneo
Created June 7, 2014 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0oneo/77613bda142acd7c9c4d to your computer and use it in GitHub Desktop.
Save 0oneo/77613bda142acd7c9c4d to your computer and use it in GitHub Desktop.
获取wwdc session中的视频的下载链接
import re
import urllib2
s = urllib2.urlopen("https://developer.apple.com/videos/wwdc/2014/").read()
match = re.findall(r'http://devstreaming.apple.com/[\w/\d\.-]+hd[\w/\d\.]+mov\?dl=1', s)
print '\n'.join(match)
@0oneo
Copy link
Author

0oneo commented Jun 7, 2014

获取到之后放到迅雷离线就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment