Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with relative URLs #28

Open
asheroto opened this issue Nov 27, 2021 · 4 comments
Open

Does not work with relative URLs #28

asheroto opened this issue Nov 27, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@asheroto
Copy link

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
@imthaghost imthaghost self-assigned this Feb 26, 2022
@imthaghost imthaghost added the bug Something isn't working label Feb 26, 2022
@awei84
Copy link

awei84 commented Jun 7, 2022

Has this bug been fixed?

@tobomobo
Copy link

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

@asheroto

This comment has been minimized.

Repository owner deleted a comment Jan 24, 2024
@mesaglio
Copy link
Collaborator

Deleted phishing comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants