How to Web Scrape RateMyProfessors Using RSelenium

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

ความคิดเห็น • 22

  • @jonathanstoneman9938
    @jonathanstoneman9938 2 ปีที่แล้ว +2

    This is brilliant - perfect pace, content and 100% clear explanations. Awesome!

  • @ll-shellshock-ll1544
    @ll-shellshock-ll1544 6 หลายเดือนก่อน

    Amazing work Samer! I learned a lot from you within just 22 minutes! You solved a lot of my problems. Thank you so much!

  • @davefeldman9258
    @davefeldman9258 ปีที่แล้ว

    Thank you for sharing this -- it was incredibly helpful for a project I was working on! I'm coding in Python, but your explanations were so clear that it was a snap to translate from R to python.

    • @SamerHijjazi
      @SamerHijjazi  ปีที่แล้ว

      Awesome to hear this, Dave!

  • @sue-ellenduffy8096
    @sue-ellenduffy8096 ปีที่แล้ว +1

    what is the function(rating)?

  • @avgcsnerd
    @avgcsnerd ปีที่แล้ว

    thank you for this, I have been trying to iterate through the list that exists right after the course name inside each rating. Any ideas on how to do that?

  • @mateuszskorski8338
    @mateuszskorski8338 2 ปีที่แล้ว +4

    Hi from Poland,
    I have problem with the code.
    My code: rs_driver_object

    • @Marc-wl9hh
      @Marc-wl9hh 2 ปีที่แล้ว +3

      Me too :(

    • @quant_univ
      @quant_univ ปีที่แล้ว +1

      if u add
      driver = chrome(port = 4567L, version = '109.0.5414.25')
      before rsDriver, it would be work

    • @Synanamou
      @Synanamou ปีที่แล้ว

      @@quant_univ maybe clearing the environment & start over again, would work.
      rm(list = ls())
      gc()
      Then run again your code chunk.

    • @SamerHijjazi
      @SamerHijjazi  ปีที่แล้ว +1

      Please refer to my RSelenium Installation Guide tutorial on my channel. That should help :)

  • @rohitsatyam2935
    @rohitsatyam2935 6 หลายเดือนก่อน

    What if a website have multiple clickable elemets and i wish to click on all of them to expand them?

  • @jeffhenderson8052
    @jeffhenderson8052 ปีที่แล้ว +1

    I can't seem to get started. I get the following error when I run the first line of code attempting to create the rs_driver_object. "Could not open chrome browser.
    Client error message:
    Undefined error in httr call. httr output: Failed to connect to localhost port 14415: Connection refused
    Check server log for further details.
    Warning message:
    In rsDriver(browser = "chrome", chromever = "111.0.5563.19", verbose = F, :
    Could not determine server status."
    Any idea how to fix this? I have java installed already so didn't need to download it. Also tried using chromever = NULL as seen on a stack post.

    • @SamerHijjazi
      @SamerHijjazi  ปีที่แล้ว

      Hi Jeff! Check out my update video on how to install RSelenium. Hope it helps! th-cam.com/video/GnpJujF9dBw/w-d-xo.html

  • @toddcoode9598
    @toddcoode9598 9 หลายเดือนก่อน

    I'm trying to scrape through the subpagination of a page, but I think it's based on a Java mask. The pagination is not visible in the URL and there is no "Next" button in the pagination. Since I want to scrape with different search terms that produce search results of different lengths, the subpagination is always of different lengths. I am therefore looking for a method with which I can scrape paginations of different lengths for different search terms. Can you help me with this or do you have any advice for me?
    Thx!

  • @oLmEdOhAcKeR16
    @oLmEdOhAcKeR16 2 ปีที่แล้ว +1

    Hi Samer,
    I love your videos of web scraping with R. Could you make a video to show how to web scrape AJAX webs?
    Thanks!

    • @SamerHijjazi
      @SamerHijjazi  2 ปีที่แล้ว +2

      Hi Olmedo!
      Thank you for your feedback. This is a really good idea. I'll definitely explore it

  • @HuongGiangNguyen-qt3sm
    @HuongGiangNguyen-qt3sm 2 ปีที่แล้ว

    Thank you for well-explained tutorial. Unfortunately, when practicing along, I encountered Error in if (file.access(phantompath, 1) < 0) { : argument is of length zero. Do you have a solution for it?

    • @SamerHijjazi
      @SamerHijjazi  ปีที่แล้ว +1

      Please refer to my RSelenium Installation Guide tutorial on my channel. That should help :)

  • @roons2424
    @roons2424 ปีที่แล้ว +1

    When I try the code
    rs_driver_object

    • @SamerHijjazi
      @SamerHijjazi  ปีที่แล้ว

      Hi! I made an update video a few days ago. It shows you how to properly install RSelenium: th-cam.com/video/GnpJujF9dBw/w-d-xo.html