bugfix in extractNr

to short request urls crashed the function

Signed-off-by: Benjamin Reh <ich@benjaminreh.de>
now also answering jpeg and mjpeg requests

before it was only jpg and mjpg

Signed-off-by: Benjamin Reh <ich@benjaminreh.de>