-
When crawling with with smart mode detection, is there a way to tell the crawler when to use JS rendering / HTTP only? For example when crawling an e-commerce website, JS rendering may be needed to navigate catalog pages, but HTTP only can suffice to extract data from product pages, which represent >90% of pages. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Right now smart mode is only automatic and handles it in that manner. It only loads the JS when it is needed to render markup ( if it has a certain dom mutation or JS framework being set ). It's hard to have this handled programmatically since theres no way to control the input prior. If smart mode needs more flexibility use chrome flag with the crawl_raw to perform http crawling by default. Using subscriptions you can add logic to determine when to use the chrome page. |
Beta Was this translation helpful? Give feedback.
Right now smart mode is only automatic and handles it in that manner. It only loads the JS when it is needed to render markup ( if it has a certain dom mutation or JS framework being set ). It's hard to have this handled programmatically since theres no way to control the input prior.
If smart mode needs more flexibility use chrome flag with the crawl_raw to perform http crawli…