Welcome to Top Excellors!

I have this code for one movie

I have this code for one movie.

I have this code for one movie. Is there a way to web crawl more than one move at a time? I have to collect this data for the 25 top and bottom movies. Also the code main_content = urljoin(url,soup.select(“.load-more-data”)[0][‘data-ajaxurl’]) does not seem to be pulling for than the first page of data.

url = ‘https://www.imdb.com/title/tt0111161/reviews?ref_=tt_ql_3’

res = requests.get(url)

soup = BeautifulSoup(res.text,”lxml”)

main_content = urljoin(url,soup.select(“.load-more-data”)[0][‘data-ajaxurl’]) 

response = requests.get(main_content)

broth = BeautifulSoup(response.text,”lxml”)

for item in broth.select(“.review-container”):

  title = item.select(“.title”)[0].text

  review = item.select(“.text”)[0].text

  date = item.select(“.review-date”)[0].text

  user = item.select(“.display-name-link”)[0].text

  #score = item.select(“.rating-other-user-rating”)[0].text

  print(“Title: {}nnDate: {}nnUser: {}nnReview: {}nn”.format(title,date,user,review,))

I have this code for one movie

Solution:

15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.