diff --git a/handlers/scraper/remote.go b/handlers/scraper/remote.go index 8e704c5..de454fd 100644 --- a/handlers/scraper/remote.go +++ b/handlers/scraper/remote.go @@ -111,6 +111,12 @@ func handleConnection(conn net.Conn) { rm.outChan <- err return } + + if rm.instaData.Username == "" { + slog.Error("failed to get post ID", "err", err) + rm.outChan <- err + return + } rm.outChan <- nil } }(stream)