Web scraping: Difference between revisions
Content deleted Content added
Line 992: | Line 992: | ||
isa(s, Requests.Response) || return (s, false) |
isa(s, Requests.Response) || return (s, false) |
||
t = match(r"(?<=<BR>)(.*UTC)", readall(s)) |
t = match(r"(?<=<BR>)(.*UTC)", readall(s)) |
||
isa(t, RegexMatch) || return ( |
isa(t, RegexMatch) || return (println("raw html:\n", readall(s)), false) |
||
return (t.match, true) |
return (t.match, true) |
||
end |
end |