+ 1

Django website loading for 10 mins.How to improve performance?

I built a django project that uses my search and scrape youtube search results and display in my page in cards. I scraped video id,title,description,thumbnail image,channel name but it takes more time to load.Is there a way to improve the performance of my django project?I have used BeautifulSoup to scrape the data. If anyone interested in helping me, if he/she wants i will explain the question further. Looking forward for your helps. Thank you in advance🙏

4th May 2020, 8:27 AM
R Vijay Anand
R Vijay Anand - avatar
9 Respostas
+ 2
4th May 2020, 7:10 PM
Amey Bhavsar
Amey Bhavsar - avatar
+ 2
After i added the web scraping part, i am facing such issue
4th May 2020, 12:12 PM
R Vijay Anand
R Vijay Anand - avatar
+ 1
Can you share the code, GitHub, or something?
4th May 2020, 12:05 PM
Amey Bhavsar
Amey Bhavsar - avatar
+ 1
What changes did you make after which such a issue arises?
4th May 2020, 12:05 PM
Amey Bhavsar
Amey Bhavsar - avatar
+ 1
Is your code making too many requests? Is the internet speed slow? I have faced those issues in the past with BeautifulSoup.
4th May 2020, 12:15 PM
Amey Bhavsar
Amey Bhavsar - avatar
+ 1
Yes it would scrape the details of upto 20 videos in a loop. Is that more? Should i reduce?
4th May 2020, 2:00 PM
R Vijay Anand
R Vijay Anand - avatar
+ 1
With these you can narrow the search and then scrape for thumbnails.
4th May 2020, 7:11 PM
Amey Bhavsar
Amey Bhavsar - avatar
+ 1
Thank you so much Amey Bhavsar
5th May 2020, 4:12 AM
R Vijay Anand
R Vijay Anand - avatar
+ 1
I have completed my project and uploaded. Url:https://myutube3000.herokuapp.com Open this website with desktop version in the chrome menu
15th May 2020, 11:36 AM
R Vijay Anand
R Vijay Anand - avatar