[Icecast] ACCESSING STATS

Marius Flage marius at flage.org
Thu Dec 30 22:33:13 UTC 2021


If you use Python, for instance, you can use the requests module and 
then supply the username/password using the auth dict:

r = requests.get(URL, auth=(username, password))

--
Marius

On 30.12.2021 23:22, Richard Bartholomew wrote:
>
> Hi,
>
> I am using Icecast 2.4.4 and can access the list of clients with 
> <domain.com>:port/admin/listclients?mount=<stream> and supplying the 
> username and password.
>
> However, I would like to be able to access this page programmatically 
> using either python or php so that I can automate some tasks but can't 
> find a way of providing the username and password.
>
> Is there a way, please, of being able to do this so that the login 
> page can be circumvented?
>
> Thanks for any help.
>
> Regards
>
> Richard Bartholomew
>
>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20211230/a14f15f3/attachment.htm>


More information about the Icecast mailing list