diff --git a/instagram/main.go b/instagram/main.go index aa3dc91..a67b7f7 100644 --- a/instagram/main.go +++ b/instagram/main.go @@ -26,6 +26,9 @@ func (r *Instagram) Respond(url *url.URL) (*common.Uploadable, common.Error) { lookup, err := r.lookup(url.String()) if err != nil { log.Println(err) + if strings.Index(url.Path, "/p/") != 0 { + return nil, common.NotValid + } return nil, common.HadError }