Zork2 has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I am trying to download some JSON files from URLs of the form:
https://stt.disruptorbeam.com/player?client_api=NWhere N is an integer, eg
https://stt.disruptorbeam.com/player?client_api=1But i get sent to a login screen.
In a web browser this is fine, you just click the "Sign in with Dbid" link, then enter your username and password, after which the URLs will work.
However i have absolutely no idea how to do this in perl.
Any help would be appreciated.
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I download a file that needs username and password?
by LanX (Saint) on Feb 21, 2021 at 13:54 UTC | |
Re: How do I download a file that needs username and password?
by 1nickt (Canon) on Feb 21, 2021 at 13:20 UTC | |
Re: How do I download a file that needs username and password?
by Anonymous Monk on Feb 21, 2021 at 13:18 UTC | |
Re: How do I download a file that needs username and password?
by Bod (Parson) on Feb 21, 2021 at 19:40 UTC | |
Re: How do I download a file that needs username and password?
by Zork2 (Initiate) on Feb 22, 2021 at 15:43 UTC |
Back to
Seekers of Perl Wisdom