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

Craweler not fetching all available components #3

Closed
darsenault opened this issue Mar 30, 2020 · 3 comments
Closed

Craweler not fetching all available components #3

darsenault opened this issue Mar 30, 2020 · 3 comments

Comments

@darsenault
Copy link

Thank you for developing this tool! Great idea and work for sure.

I noticed that the crawler is not pulling all available snippets/components.

➜  tailwindui-crawler node index.js
Processing /components/marketing/sections/heroes...
* Found 1 snippet
Writing ./output/components/marketing/sections/heroes/with_angled_image_on_right.html...

There are 3 snippets not just 1:

image

Thank you.

@kiliman
Copy link
Owner

kiliman commented Mar 30, 2020

Did you add your username and password to the .env file? When I see only 1 component, that typically means it failed authentication and is simply showing the free "preview" page which is very limited.

@darsenault
Copy link
Author

I did create the .env. But, it appears I had a typo from a bad copy/paste. Recreating the file indeed fixed the problem. Your crawler works beautifully. My apologies for the bother. Thank you!

@kiliman
Copy link
Owner

kiliman commented Mar 31, 2020

I've updated the crawler to check for success/failure on authentication so you won't get false positives

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants