Download WWDC2014 session pdf + mov

.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
cd "$(dirname "$0")"
 
PREFIX=wwdc2014
bwlimit="1000K"
 
for url in $(curl https://developer.apple.com/videos/wwdc/2014/ | egrep -hoe '[^"]+.pdf[^"]+')
do
  dst="$PREFIX/$(basename $url ?dl=1)"
  echo "$dst"
  curl --output "$dst" --time-cond "$dst" --remote-time --silent --create-dirs --location --limit-rate "$bwlimit" --url "$url" 2>/dev/null
done
 
for url in $(curl https://developer.apple.com/videos/wwdc/2014/ | egrep -hoe '[^"]+_sd[^"]+')
do
  dst="$PREFIX/$(basename $url ?dl=1)"
  echo "$dst"
  curl --output "$dst" --time-cond "$dst" --remote-time --silent --create-dirs --location --limit-rate "$bwlimit" --url "$url" 2>/dev/null
done

I think downloading them this way is fair use. If you think otherwise, leave a comment below and I shall take appropriate action.

P.S.: See also the awesome wwdc transcript fulltext index.

Post a Comment

Your email is never published nor shared. Required fields are marked *