imthaghost / goclone

Website Cloner - Utilizes powerful Go routines to clone websites to your computer within seconds.
https://goclone.io
MIT License
1.32k stars 282 forks source link

Does not work with relative URLs #28

Open asheroto opened 2 years ago

asheroto commented 2 years ago
Css found --> /css/bootstrap.min.css
Extracting -->  /css/bootstrap.min.css
panic: Get "/css/bootstrap.min.css": unsupported protocol scheme ""

goroutine 6 [running]:
github.com/imthaghost/goclone/crawler.Extractor({0xc0000e86d8, 0x16}, {0xc000018750, 0x27})
        C:/Users/User/go/pkg/mod/github.com/imthaghost/goclone@v1.1.4/crawler/extractor.go:35 +0x285
github.com/imthaghost/goclone/crawler.Collector.func1(0xc000089860)
        C:/Users/User/go/pkg/mod/github.com/imthaghost/goclone@v1.1.4/crawler/collector.go:25 +0xe7
github.com/gocolly/colly.(*Collector).handleOnHTML.func1(0xc0000f4010, 0xc0003a43f0)
        C:/Users/User/go/pkg/mod/github.com/gocolly/colly@v1.2.0/colly.go:963 +0x78
github.com/PuerkitoBio/goquery.(*Selection).Each(0xc0003a43c0, 0xc000073e40)
        C:/Users/User/go/pkg/mod/github.com/!puerkito!bio/goquery@v1.5.1/iteration.go:10 +0x46
github.com/gocolly/colly.(*Collector).handleOnHTML(0xc0001a0b60, 0xc0000e6000)
        C:/Users/User/go/pkg/mod/github.com/gocolly/colly@v1.2.0/colly.go:953 +0x24d
github.com/gocolly/colly.(*Collector).fetch(0xc0001a0b60, {0x0, 0x0}, {0x107bd31, 0x3}, 0x1, {0x0, 0x0}, 0x0, 0xc0002742a0, ...)
        C:/Users/User/go/pkg/mod/github.com/gocolly/colly@v1.2.0/colly.go:623 +0x68d
created by github.com/gocolly/colly.(*Collector).scrape
        C:/Users/User/go/pkg/mod/github.com/gocolly/colly@v1.2.0/colly.go:532 +0x556
awei84 commented 2 years ago

Has this bug been fixed?

tobomobo commented 2 years ago

+1 Please .. using this to export Webflow sites would be spectacular...

asheroto commented 8 months ago

Everyone please report and block the spam/scam posted by smartnusantara by tapping the dots at the top right of their post.

mesaglio commented 8 months ago

Deleted phishing comment