You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, could you please let me know what URL you're trying to crawl and details about your operating system, such as whether it's a Windows machine, Mac, or Ubuntu? I'll then test it and provide you with the results. Thank you.
Hi unclecode, I also meet this issue:
"{
"index": 0,
"tags": [],
"content": "IE 11 is not supported. For an optimal experience visit our site on another\nbrowser."
}"
, I'm running this code:
import json
async def main():
schema = {
"name": "News Articles",
"baseSelector": "article.tease-card",
"fields": [
{
"name": "title",
"selector": "h2",
"type": "text",
},
{
"name": "summary",
"selector": "div.tease-card__info",
"type": "text",
}
],
}
async with AsyncWebCrawler(verbose=True) as crawler:
result = await crawler.arun(
url="https://www.nbcnews.com/business",
extraction_strategy=JsonCssExtractionStrategy(schema, verbose=True)
)
extracted_data = json.loads(result.extracted_content)
print(f"Extracted {len(extracted_data)} articles")
print(json.dumps(extracted_data[0], indent=2))
asyncio.run(main()) ```
using a Ubuntu on WSL, would appreciate your answer
bro ,browser select options ?
"IE 11 is not supported. For an optimal experience visit our site on another\nbrowser."
The text was updated successfully, but these errors were encountered: