This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Send image from IP camera to Telegram
#24
(25.07.2025, 08:44)Daniel Wrote:
Code:
url = 'http://admin:password@IP/cgi-bin/snapshot.cgi'
res, err, hdrs = require('socket.http').request(url)
log(res, err, h
only use real credentials and IP
When I changed the URL structure to the following:

Code:
http://admin:pass@192.168.1.108/cgi-bin/snapshot.cgi?1&ts=123/snapshot.jpeg

the result I got was:
Code:
* arg: 1
  * nil
* arg: 2
  * string: host not found
* arg: 3
  * nil
I used the actual username, password, and IP of the camera.
Reply


Messages In This Thread
RE: Send image form ip camera to telegram - by AlphaAI - 25.07.2025, 08:50

Forum Jump: