Created
June 7, 2014 15:27
-
-
Save 0oneo/77613bda142acd7c9c4d to your computer and use it in GitHub Desktop.
获取wwdc session中的视频的下载链接
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
获取到之后放到迅雷离线就可以了