Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions data/404_urls.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
https://github.com/chrislonng/dbr
https://github.com/commondream/yamlast
https://github.com/leviathan1995/dbsl
https://github.com/senseijack/apiparser
https://github.com/sharonjl/flint
https://github.com/wpj/fsql
41 changes: 41 additions & 0 deletions data/check_urls.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
package main

import (
"log"
"os"
"bufio"
"fmt"
"net/http"
)

func main() {
f, err := os.Open("urls.txt")
if err != nil {
log.Fatal(err)
}
defer func() {
if err = f.Close(); err != nil {
log.Fatal(err)
}
}()
scanner := bufio.NewScanner(f)
for scanner.Scan() {
client := &http.Client{}
url := fmt.Sprintf(scanner.Text())
req, _ := http.NewRequest("GET", url, nil)
req.Proto = "HTTP/1.0"
resp, err := client.Do(req)
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
if resp.StatusCode != 200 {
fmt.Printf("\n%s", url)
}
}

if err := scanner.Err(); err != nil {
log.Fatal(err)
}

}
6 changes: 0 additions & 6 deletions data/urls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ https://github.com/bridgevine/wsdlgo
https://github.com/centimitr/namespace
https://github.com/cheekybits/genny
https://github.com/chimeracoder/gojson
https://github.com/chrislonng/dbr
https://github.com/cihangir/geneddl
https://github.com/clipperhouse/gen
https://github.com/cloudflare/goser
https://github.com/commondream/yamlast
https://github.com/compasses/mockxserver
https://github.com/dameleon/structr
https://github.com/dave/jennifer
Expand Down Expand Up @@ -84,7 +82,6 @@ https://github.com/knetic/presilo
https://github.com/knetic/presiloexecutable
https://github.com/knq/xo
https://github.com/kyleconroy/antlrs
https://github.com/leviathan1995/dbsl
https://github.com/lifeibest/generate-struct
https://github.com/lileio/lile
https://github.com/marcusljx/grpcgen-go
Expand Down Expand Up @@ -118,8 +115,6 @@ https://github.com/sasha-s/goimpl
https://github.com/savaki/genpdf
https://github.com/sbosnick/dibuilder
https://github.com/schemalex/schemalex
https://github.com/senseijack/apiparser
https://github.com/sharonjl/flint
https://github.com/sheenobu/rxgen
https://github.com/sjhitchner/sqltype
https://github.com/src-d/proteus
Expand All @@ -135,7 +130,6 @@ https://github.com/viktorasm/gontractor
https://github.com/wantedly/pq2gorm
https://github.com/wicast/xj2s
https://github.com/wookesh/deepcopy
https://github.com/wpj/fsql
https://github.com/wxd237/xml2struct
https://github.com/yvasiyarov/swagger
https://github.com/zencoder/gokay