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

bug: Failed to crawl: can only concatenate str (not "NoneType") to str #170

Open
juancarlosm opened this issue Oct 16, 2024 · 1 comment

Comments

@juancarlosm
Copy link

on praisonai[realtime] when asking for search:

[LOG] 🚀 Crawling done for https://www.tripadvisor.es/Restaurant_Review-g1063742-d6772801-Reviews-XXXX.html, success: True, time taken: 1.28 seconds
[ERROR] 🚫 Failed to crawl https://www.tripadvisor.es/Restaurant_Review-g1063742-d6772801-Reviews-XXXX.html, error: can only concatenate str (not "NoneType") to str
[LOG] 🚀 Crawling done for https://es.restaurantguru.com/XXXX, success: True, time taken: 2.44 seconds
[ERROR] 🚫 Failed to crawl https://es.restaurantguru.com/XXXX, error: 'NoneType' object has no attribute 'get'
[LOG] 🚀 Crawling done for https://www.tripadvisor.es/Restaurant_Review-g1063742-d6772801-Reviews-or40-XXXX.html, success: True, time taken: 0.92 seconds
[ERROR] 🚫 Failed to crawl https://www.tripadvisor.es/Restaurant_Review-g1063742-d6772801-Reviews-or40-XXXX.html, error: can only concatenate str (not "NoneType") to str
[LOG] 🚀 Crawling done for https://www.tripadvisor.com.pe/Restaurant_Review-g1063742-d6772801-Reviews-XXXX.html, success: True, time taken: 1.40 seconds
[ERROR] 🚫 Failed to crawl https://www.tripadvisor.com.pe/Restaurant_Review-g1063742-d6772801-Reviews-XXXX.html, error: can only concatenate str (not "NoneType") to str

Is there any way to enable debug, maybe I can help!

@juancarlosm
Copy link
Author

Looks like tripadvisor is using some kind of iframe and html is not available for "get_content_of_website_optimized" function

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

1 participant