June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -4,7 +4,7 @@
|
|||
-define(Match, "<BR>(.+ UTC)").
|
||||
|
||||
main() ->
|
||||
inets:start(),
|
||||
{ok, {_Status, _Header, HTML}} = httpc:request(?Url),
|
||||
{match, [Time]} = re:run(HTML, ?Match, [{capture, all_but_first, binary}]),
|
||||
io:format("~s~n",[Time]).
|
||||
inets:start(),
|
||||
{ok, {_Status, _Header, HTML}} = httpc:request(?Url),
|
||||
{match, [Time]} = re:run(HTML, ?Match, [{capture, all_but_first, binary}]),
|
||||
io:format("~s~n",[Time]).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue