ohoachuck / wwdc-downloader

WWDC 2019 video downloader script written in Swift - no external dependency.
http://blog.hoachuck.biz
1.49k stars 142 forks source link

Downloading of sample code fails #93

Closed atommclain closed 5 years ago

atommclain commented 5 years ago

Version: 825db59

Summary: If you try to download sample code, no sample code downloads.

Repro steps: Try to download a session with known sample code. ./wwdcDownloader.sh --sessions 225 --sample-only // As of creation of this ticket, this defaults to 2019 ./wwdcDownloader.sh --wwdc-year 2018 --sample-only

Expected result: sample code is downloaded Actual result: no sample code is downloaded

Comments: I think that Apple has changed the format for linking to sample code. If you look at session 225, there are two sample code links, one which matches the current download link matching regex, and one that doesn't.