CopyPastor

Detecting plagiarism made easy.

Score: 0.8089089393615723; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2022-05-28
by Allan Cameron

Original Post

Original - Posted on 2017-03-07
by ZLevine



            
Present in both answers; Present only in the new answer; Present only in the old answer;

`read_html` gives you the html of the entire page in a navigable document tree. If you want to scrape the reviews, you have to find the elements on the page that contain the reviews: ``` r library(rvest)
read_html("https://www.rottentomatoes.com/m/dune_2021/reviews") %>% html_elements(xpath = "//div[@class='the_review']") %>% html_text2() #> [1] "\r While Dune 2021 is a very well presented and styled gourmet sci-fi dish, for a platter stuffed with \"spice\", it unfortunately lacks a ton of Dune flavor.\r" #> [2] "\r Feels more like an obscure, scattered conversation overheard on a long train ride, peaking early with Rampling’s natural mystique, and then hitting a downward spiral – all dense plot and mild tedium, a bounty of sensual imagery wasted on zero substance.\r" #> [3] "\r Paul's family is evidently descended from a long line of matadors.\r" #> [4] "\r The paramount attractions, the visuals, connect immediately. The landscapes, costuming, sets, makeup, creatures and wild special effects are stunning.\r" #> [5] "\r Duna works sometimes like a strange abstract opera in which we perceive more the intensities than the representation of the events, and sometimes not only do we not know what part of the story we are in, but what is concretely happening.\r" #> [6] "\r To promise a whole series of films might be dressed up as a gift for fans, but theres a lingering cynicism about this project a feeling that its essentially a way of maximising returns at the box office.\r" #> [7] "\r This Dune toys with the idea of genocide, but it’s mostly a movie for people who like to memorize things. All these stupid names, one after another. \r" #> [8] "\r Dune might not be for everyone; but if you strap in, immerse yourself in the world and go along for the ride, Denis Villenueve delivers a blockbuster sci-fi epic that's regularly jaw-dropping.\r" #> [9] "\r A dishwater war narrative masquerading as sci-fi. Pshaw.\r" #> [10] "\r A blockbuster celebrating the awe-inspiring power of the big screen that everyone can get behind.\r" #> [11] "\r If nothing else, Dune wins its place as a masterpiece of adaptation, truncating roughly half the novel into its runtime to expand the books monomaniacal focus on Paul into a more ensemble narrative.\r" #> [12] "\r Mature yet juvenile, otherworldly yet pleasingly familiar, “Dune” demands to be experienced on the biggest screen you can find (sandworms!).\r" #> [13] "\r Dune: Part One will leave fans not only wanting, but hoping for more. The spice, in other words, must flow.\r" #> [14] "\r Dune is another triumph for Villeneuve and I can’t wait to see him finish his epic.\r" #> [15] "\r Denis Villeneuve’s windswept epic is engrossing enough to maintain an audience with an intermission and a running time twice its length.\r" #> [16] "\r From the costumes to the enormous machinery and craft of mining spice the film presents a beautifully realised and consistent universe.\r" #> [17] "\r Dune falls under a high-brow take on science fiction. It is an entertaining cinematic feat to say the least. The franchise has a bright future.\r" #> [18] "\r \"Perhaps the best, or at least the most revealing, thing that can be said about Denis Villeneuves grandly mounted adaptation of Frank Herberts 'Dune' is that he makes it look easy.\"\r" #> [19] "\r Many people will encourage you to see new releases on as big a screen as possible. With a masterful spectacle like Dune, its practically a commandment.\r" #> [20] "\r Its stateliness is both an asset and a detriment.\r" ```
<sup>Created on 2022-05-28 by the [reprex package](https://reprex.tidyverse.org) (v2.0.1)</sup>
Is this not working for you?
Setting the URL as "https://www.amazon.com/Match-Mens-Wild-Cargo-Pants/product-reviews/B009HLOZ9U/ref=cm_cr_arp_d_paging_btm_2?ie=UTF8&reviewerType=avp_only_reviews&sortBy=recent&pageNumber=" N_pages <- 204 A <- NULL for (j in 1: N_pages){ pant <- read_html(paste0(url, j)) B <- cbind(pant %>% html_nodes(".review-text") %>% html_text() ) A <- rbind(A,B) } tail(A) [,1] [1938,] "This is really a good item to get. Trendy, probably you can choose a different color, it fits good but I wouldn't say perfect." [1939,] "I don't write reviews for most products, but I felt the need to do so for these pants for a couple reasons. First, they are great pants! Solid material, well-made, and they fit great. Second, I want to echo those who say you need to go up in size when you order. I wear anywhere from 32-34, depending on the brand. I ordered these in a 36 and they fit like a 33 or 34. I really love the look and feel of these, and will be ordering more!" [1940,] "I bought the green one before, it is good quality and looks nice, than I purchased the similar one, but the khaki color, but received absolutely different product, different material. really disappointed." [1941,] "These pants are great! I have been looking to update my wardrobe with a more edgy style; these cargo pants deliver on that. Paired with some casual sneakers or a decent nubuck leather boot completes the look from the waist down. The lazy-casual look is great when traveling, as are the many pockets. I wore these pants on a recent day trip to NYC and traveled comfortably with essential items contained in the 8 pockets. I placed a second order shortly after my first pair arrived because I like them so much. Shipping and delivery is also fairly fast, considering these pants ship from China!" [1942,] "Pants are awesome, just like the picture. The size runs small, so if you order them I would order them bigger than normal. I usually wear a 34inch waist because i dont like my pants snug, these pants fit more like a 32 inch waist.Other than that i love them!" [1943,] "the good:Pants are made from the durable cotton that has a nice feel; have a lot of useful features and roomy well placed pockets; durable stitching.the bad:Pants will shrink and drier/hot water is not recommended. Would have been better if the cotton was pretreated to prevent shrinking. I would gladly gave up the belt if I wouldn't have to wary about how to wash these pants.the ugly:faux pocket with a zipper. useless feature. on my pair came with a bright gold zipper, unlike a silver in a picture."

        
Present in both answers; Present only in the new answer; Present only in the old answer;