goclone icon indicating copy to clipboard operation
goclone copied to clipboard

Does not work with relative URLs

Open asheroto opened this issue 2 years ago • 4 comments

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/[email protected]/crawler/extractor.go:35 +0x285
github.com/imthaghost/goclone/crawler.Collector.func1(0xc000089860)
        C:/Users/User/go/pkg/mod/github.com/imthaghost/[email protected]/crawler/collector.go:25 +0xe7
github.com/gocolly/colly.(*Collector).handleOnHTML.func1(0xc0000f4010, 0xc0003a43f0)
        C:/Users/User/go/pkg/mod/github.com/gocolly/[email protected]/colly.go:963 +0x78
github.com/PuerkitoBio/goquery.(*Selection).Each(0xc0003a43c0, 0xc000073e40)
        C:/Users/User/go/pkg/mod/github.com/!puerkito!bio/[email protected]/iteration.go:10 +0x46
github.com/gocolly/colly.(*Collector).handleOnHTML(0xc0001a0b60, 0xc0000e6000)
        C:/Users/User/go/pkg/mod/github.com/gocolly/[email protected]/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/[email protected]/colly.go:623 +0x68d
created by github.com/gocolly/colly.(*Collector).scrape
        C:/Users/User/go/pkg/mod/github.com/gocolly/[email protected]/colly.go:532 +0x556

asheroto avatar Nov 27 '21 18:11 asheroto

Has this bug been fixed?

awei84 avatar Jun 07 '22 02:06 awei84

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

tobomobo avatar Jun 11 '22 08:06 tobomobo

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

asheroto avatar Jan 23 '24 21:01 asheroto

Deleted phishing comment

mesaglio avatar Jan 24 '24 00:01 mesaglio