ohoachuck/wwdc-downloader

Regex needs adjustment

mrpippy opened this issue · 0 comments

I think there's been some changes to the session pages, I had to adjust the regex for it to detect any sessions:

from
let pat = "\\b.*\\/videos\\/play\\/wwdc2016\\/([0-9]*)\\/\"><h5\\b"
to
let pat = "\\b.*\\/videos\\/play\\/wwdc2016\\/([0-9]*)\\/\">.*"

Not sure if the regex could be better.