Web Scraping Facebook with Selenium - AUTOMATED BOT

Поделиться
HTML-код
  • Опубликовано: 5 фев 2025

Комментарии • 278

  • @RichieDagger2012
    @RichieDagger2012 3 года назад +4

    Never saw someone so badassly teach how to scrape public data. Great Tutorial, Thanks!!

  • @ruser1428
    @ruser1428 4 года назад +5

    Everything was amazing, but it was a pleasure to hear you say "bravo" 👏

  • @thesouthsidedev1812
    @thesouthsidedev1812 3 года назад +6

    One of the fastest growing python channels on RUclips, thumbs up on all the hard work you put into this.

    • @PythonSimplified
      @PythonSimplified  3 года назад +2

      Thank you so much for the thumbs up and for the lovely feedback The SouthSideDev! 😁

  • @LaserRobYT
    @LaserRobYT 4 года назад +9

    These tutorials are excellent. Well paced and clear. I've been meaning to get into selenium for a while. This is a gold mine!

  • @ronaljairocabellocordova8256
    @ronaljairocabellocordova8256 3 года назад +3

    The best teacher 💻

  • @taneumann8873
    @taneumann8873 3 года назад +4

    Great tutorial and thanks for being role model for young women who want to be developers! My daughter (age 10) enjoys your videos and says you are not boring lol

    • @PythonSimplified
      @PythonSimplified  3 года назад +2

      Thank you so much Tom! I'm super happy she likes my videos! 😃 I'm actually planning a special "Python for kids" series in the near future - it will be directly designed for the little ones 😉

  • @flipinfin
    @flipinfin 2 года назад

    I literally just thought about this. You saved me so much time and coding. Good looks u the best

  • @invinciblenoman
    @invinciblenoman 4 года назад +6

    Much needed tutorial with easy to understand instructions. ❣️❣️❣️

    • @PythonSimplified
      @PythonSimplified  4 года назад +4

      Thank you, I'm glad you liked it! 😃😃😃

  • @osunsanwoadetutu7445
    @osunsanwoadetutu7445 4 года назад +4

    That is so great ma'am
    I hope you bring more videos, cause you really helped me a lot. Am just 14 years old and I know how to build GUIs thanks to you

    • @PythonSimplified
      @PythonSimplified  4 года назад

      Wow Osunsanwo! Learning Python + GUI at your age is incredible! it will give you a huge advantage in the future, my dear! ❤
      When I was 14 I only knew HTML and CSS 😜

    • @osunsanwoadetutu7445
      @osunsanwoadetutu7445 4 года назад +2

      @@PythonSimplified Thanks ma, although I am using my mum's gmail, I am Damilola
      You dnt know what it meant u replying me

  • @chiranjeebroychowdhury7759
    @chiranjeebroychowdhury7759 3 года назад +1

    Yes! I can feel the Force! The Force grows strong within me! It will let others (machines) do my bidding!
    Jokes apart, fantastic video yet again Mariya! Selenium is awesome!

  • @AttosGarcia
    @AttosGarcia 3 года назад +3

    Thank you much for this tutorial. Very clear and comprehensive for a beginner like me. Thank you again.

    • @PythonSimplified
      @PythonSimplified  2 года назад

      Thank you so much for the lovely comment Jorge! 😃

  • @mushinart
    @mushinart 4 года назад +1

    Cool work mariah... 👍👍👍👍.. keep up the good work

  • @rafiullaharifin9738
    @rafiullaharifin9738 3 года назад

    I fall in love with the way you talk and teach 😍

  • @firozfahim9553
    @firozfahim9553 4 года назад +2

    Wow Mariya. Amazing Content. Learned a new topic. Thank You

    • @PythonSimplified
      @PythonSimplified  4 года назад

      Thank you so much Firoz, I'm glad you liked it! 😀😀😀

  • @souhamahmoudi7745
    @souhamahmoudi7745 2 года назад

    you and your videos are just amazing! God Bless

  • @itsrobelschwarz7248
    @itsrobelschwarz7248 4 года назад +5

    Tbh with the production quality i expected you to have more subs.

    • @PythonSimplified
      @PythonSimplified  4 года назад +2

      Thank you so much Nova Code! 😃 My subs have been growing exponentially since I've reached 1k, I can't really ask for more 😁 I'm very thankful (and surprised!) to catch so many lovely viewers in such a short period of time ❤❤❤

    • @apd291
      @apd291 4 года назад +1

      @@PythonSimplified Same for me. I thought you had at least like 200.000 subs

    • @PythonSimplified
      @PythonSimplified  4 года назад +1

      @@apd291 Wow, I wish!!! 😎 I'm on my way there though, the algorithm has been very kind to me lately, I hope he doesn't change his mind😊

  • @rajesha2770
    @rajesha2770 4 года назад

    Nice scraping demo... Looking for more scraping video. All the best 👍

  • @sarangkkl214
    @sarangkkl214 3 года назад

    I wish to have a beautful professor like you

  • @tacowilco7515
    @tacowilco7515 4 года назад +1

    Мария, отлично получается 👍
    Хороший формат. Хочется больше видеть женщин в программировании.

    • @tacowilco7515
      @tacowilco7515 4 года назад

      Добавлю, что за твоим забавным мейкапом виден взгляд человека с серъезным интеллектом. Сильно бросается в глаза.

    • @Khmeriscool
      @Khmeriscool 3 года назад +1

      Особенно таких же умниц!

  • @imranyounus7559
    @imranyounus7559 4 года назад

    Been looking to learn web scraping, got recommended your vid, great content

  • @rahulchotaliya256
    @rahulchotaliya256 2 года назад +1

    Beauty with brain🧠😍

  • @codescooper
    @codescooper 2 года назад +1

    Successfully adapt this scrip for facebook pages , thank to you that was a great coding time

    • @PythonSimplified
      @PythonSimplified  2 года назад +1

      Yeeeeyy!! I'm so happy to hear that!! Thank you so much for your lovely comment! 😁😁😁

    • @wisdomovermoney3394
      @wisdomovermoney3394 2 года назад +1

      It still works?

    • @codescooper
      @codescooper 2 года назад

      @@wisdomovermoney3394 the script yes but the facebook account is locked , so i recomend to create a sample account before, do not use with your current facebook account

    • @wisdomovermoney3394
      @wisdomovermoney3394 2 года назад

      Well what is the purpose if I can't download my photos?

    • @codescooper
      @codescooper 2 года назад

      @@wisdomovermoney3394 You use an account to be loged and manualy navigate to your target photo page , without fear to see your current account locked after this bot usage. what's wrong when you try ?

  • @shaharrefaelshoshany9442
    @shaharrefaelshoshany9442 4 года назад +3

    Super professional content timeline!!
    love it

  • @bgill7475
    @bgill7475 3 года назад +1

    Your videos are amazing.
    Thank you so much for the explanations and how you show things step by step. Very cool.

  • @aestheticimagine7692
    @aestheticimagine7692 3 года назад +1

    That was awesome.. bravo 👏👏

  • @alixaprodev
    @alixaprodev 4 года назад

    Congratulations on your Brand New Computer ☺️

  • @mohamedabdelbaset6769
    @mohamedabdelbaset6769 4 года назад

    Follow you from Egypt...👏👏

  • @JohnAtkinson-ww8qe
    @JohnAtkinson-ww8qe 2 года назад

    I couldnt get past the first prompt I think it is because Im using python3.0. Your actually the first video I have found in my new journey into getting into using python. I also have VS put I think I like the old schhol better. How did you get your to show your drives? Mine dont show them

  • @MuhammadAbdullah-uv1vt
    @MuhammadAbdullah-uv1vt 3 года назад

    Your Way of Teaching is so Good
    I have fallen in Love with You❣️!

  • @id2749
    @id2749 3 года назад +1

    Thank you for the video! It was very helpful to me on my job!

  • @ak_dancestudio
    @ak_dancestudio 3 года назад

    Good video akka super, semma, : -) Thanks

  • @jarisipilainen3875
    @jarisipilainen3875 4 года назад

    lets scrape all what we allready have better quality.i thought this was some good scaping friends of friends who blocked me but now i see all automated lol

  • @Klemens102
    @Klemens102 4 года назад

    I ike how precise your tutorials are, thank you :)

  • @kelakij1224
    @kelakij1224 4 года назад +1

    i love your videos, there are very professional and easy to follow!

    • @PythonSimplified
      @PythonSimplified  4 года назад

      Thank you so much!! I'm really glad you like my tutorials! 😃😃

  • @anshrathod
    @anshrathod 4 года назад +1

    Amazing content......👌

  • @mahdihasheminia178
    @mahdihasheminia178 4 года назад +1

    Great as always

  • @sininails
    @sininails 2 года назад

    Target specific anchor elements section: I'm currently on this step and I could not get this to work... I followed the error dialogs, did a little digging, and found that the latest selenium update has changed the code from: find_elements_by_tag_name to: find_elements(By.TAG_NAME, 'a' OR in this case the line would read: anchors = driver.find_elements(By.TAG_NAME, 'a') - At least that's what worked for me. I hope this helps anyone trying this tutorial. BTW Mariya, I find your tutorials to be a great source to learn from. Thanks!

    • @kaserdna1
      @kaserdna1 2 года назад

      Thanks! Worked for me as well.

  • @AMoktar
    @AMoktar 2 года назад

    Awesome 👏

  • @devstown
    @devstown 4 года назад +1

    Smart girl ! Love you.

  • @maximterleev6918
    @maximterleev6918 3 года назад +1

    Man, you are great) so positive and good looking and very helpful! Perfect!

  • @micky_stone
    @micky_stone 3 года назад

    Nice tutorial..!!! But I have one question. How to do the same with my Account banking, I want to do an automation about payment bills, could you help me please??????

  • @salmadodin
    @salmadodin 2 года назад

    that's an awesome video! I have got the first part ok but instead of scraping images i want to scrape posts, and comments. di have to use beautifulsoup or does selenium complete the job on its own? and if yes how i'm kinda lost!

  • @lautarob
    @lautarob 3 года назад

    Thanks, very clear explanations. All of this star with a new browser session. Is there a way to jump into an existing browser section to automate from there on?

  • @rickyamante4330
    @rickyamante4330 3 года назад

    another great tutorial, I always updated on your new content. Because i have python subject

  • @FlingerFilms
    @FlingerFilms 4 года назад

    Your subs were 9.99K so I subbed

  • @charliecode
    @charliecode 4 года назад

    It's very interesting, your explanations are so clear even I'm a frenchspeaker..I hope you has done some videos about nltk I'll glad to learn it.. Nice work..🥰

  • @alixaprodev
    @alixaprodev 4 года назад +1

    Great video as always 😊

  • @BitCloud047
    @BitCloud047 4 года назад +1

    Awesome video as always!!

    • @PythonSimplified
      @PythonSimplified  4 года назад +1

      Thank you so much Aaron, glad you liked it! 😀

  • @icodeint2780
    @icodeint2780 4 года назад

    You just win a new sub, nice instruction, and continue the good contents.

  • @vbennent
    @vbennent 3 года назад

    nice work!! Is it possible to scrap each article in a group of Facebook?

  • @adibatex10
    @adibatex10 2 года назад

    Amazing video, I loved it.

  • @thanhatnguyenviet3185
    @thanhatnguyenviet3185 3 года назад

    Your video is awesome but i have a question about how to crawl images in facebook group as it doesn't have photos_all and photos_of

  • @T4Technology09
    @T4Technology09 4 года назад +13

    I forgot to learn 😅 because of your cuteness 😉

  • @chrisvaia9469
    @chrisvaia9469 3 года назад

    Ahahahahha Bravo!! A pleasure for an italian one.

  • @NoumanHasan-z3f
    @NoumanHasan-z3f 10 месяцев назад

    Great Tutorial! What if I want to extract text from Facebook posts

  • @narbigogul5723
    @narbigogul5723 2 года назад

    Very nice video, straight and well explained, thank you for sharing!

  • @skydayang
    @skydayang 4 года назад

    Thanks for the great information, i enjoy your videos.

  • @Ihsan_almohsin
    @Ihsan_almohsin 3 года назад

    big like and love

  • @vindulaillankoon8920
    @vindulaillankoon8920 3 года назад +1

    Amazing

  • @navaldangwal3812
    @navaldangwal3812 4 года назад +6

    I really like how you tell every step..and i want some help in web scraping

    • @PythonSimplified
      @PythonSimplified  4 года назад +1

      Thank you Naval! What do you need help with? I have a bunch of other web scraping videos on this channel, you might find what you're looking for in one of these (it's a playlist):
      ruclips.net/p/PLqXS1b2lRpYSkvxnk3quzKL08oRJiP9LA

  • @akshayakki3631
    @akshayakki3631 2 года назад

    Please can you make a video on how to fetch facebook leads through selenium and updated on google sheet.

  • @jsnavy
    @jsnavy 4 года назад

    Wow! I love the way you explain

  • @soultraveller3881
    @soultraveller3881 2 года назад

    Pls
    Tell me that any shortcut to create css path

  • @shaharrefaelshoshany9442
    @shaharrefaelshoshany9442 4 года назад +1

    great stuff as usual!
    Thanks, champ!!

  • @diegoarmandodiazmartinez6564
    @diegoarmandodiazmartinez6564 2 года назад

    Hello, first of all congrats for this nice tutorial, i thinj it would be a good idea for you and for many of us if you make a tuyorial about scraping data for groups like number of members, activity or something like this, hope you can do it, it looks you are a goat on this ,

  • @codescooper
    @codescooper 2 года назад

    Hi thank for this video, for my part i want to collect all the images from a facebook page, this tool can help me do this work ? it is possible to do it without be login ?

  • @kanchakanchi3150
    @kanchakanchi3150 2 года назад

    Thank you for the tutorial.. It was a great help.
    Further could you plz help out for scraping comments of a post

  • @dawittafere2571
    @dawittafere2571 3 года назад

    that an excellent video tutorial and can you pls advice me how to extract full data like videos, images , texts and comments from facebook page

  • @ezzeldin101
    @ezzeldin101 4 года назад +1

    A new awesome tutorial from An awesome person😊💜💜💖
    AND I'd like to know which cool BG music is it??

    • @PythonSimplified
      @PythonSimplified  4 года назад +2

      Thank you so much for your wonderful support Ezz!! 😄😄😄
      I'm using Creeping Spiders by Nat Keefe from RUclipss' royalty free music gallery 😃

    • @ezzeldin101
      @ezzeldin101 4 года назад +1

      @@PythonSimplified Thanks for reply 💞💞💜🤗😍

  • @hamzasaddique113
    @hamzasaddique113 2 года назад

    Great! You reply to almost all of your comments, but how?

  • @hammadabomossahijazy
    @hammadabomossahijazy 2 года назад

    You are The BEST

  • @hermano511
    @hermano511 3 года назад

    amo seus videos , estou no Brasil, show de bola.

  • @copycarvers
    @copycarvers 3 года назад +1

    please make a tutorial on how to upload images to your Facebook page too! like running a Facebook page with stock photos... of course by scheduling them to avoid getting banned by FB

    • @PythonSimplified
      @PythonSimplified  2 года назад +1

      Too much potential to do harm with a script like that, especially if it's combined with my download script 🙃
      I'd have to call it "phishing attack generator" or something of that sort 😅
      I generaly try to stay away from things that folks may use against me at some point in time 😂😂😂

  • @fahrettingulmez
    @fahrettingulmez 4 года назад +1

    Bir kadından daha iyi olan şey zeki bir kadın. RUclips Algorithm, thanks...

  • @rene.serwyn
    @rene.serwyn 2 года назад

    What are the possible algorithm did you use in this vid?

  • @sgashcaps
    @sgashcaps 4 года назад +2

    That is amazing! Thank You!!

    • @PythonSimplified
      @PythonSimplified  4 года назад +1

      You're absolutely welcome Marco! enjoy! 😁😁😁

  • @章鱼-e4p
    @章鱼-e4p 3 года назад

    i'm also spider nice to meet you

  • @velo1337
    @velo1337 2 года назад +1

    anchors = driver.find_elements(By.TAG_NAME,"a")
    ...
    img = driver.find_elements(By.TAG_NAME,"img")

  • @jaronxhottech5549
    @jaronxhottech5549 2 года назад

    now the facebook have second verify code requirement, how can we solve this?

  • @faceprofesor
    @faceprofesor 3 года назад +1

    Super Nice tutorial. Is it possible to scrap the photos of a group in Facebook?

    • @PythonSimplified
      @PythonSimplified  3 года назад +1

      Thank you! 😃
      As long as you are a member of this group - you can scrape anything you'd like from there 😉

    • @faceprofesor
      @faceprofesor 3 года назад +1

      Thank you very much for your reply@@PythonSimplified. Just to be clear: Can the Facebook name of the group members be scraped?

  • @samirzidane7318
    @samirzidane7318 3 года назад

    i want to use this for making new friends on facebook
    can i do it ?

  • @xdasdaasdasd4787
    @xdasdaasdasd4787 4 года назад

    Good tutorial, was very helpful :) thank you! Good to see more women teaching too!

  • @rodrigoglauser6214
    @rodrigoglauser6214 10 месяцев назад

    So sweet programmer

  • @JohnCarrFitness
    @JohnCarrFitness 3 года назад

    How do you block out the background in your videos? Thats soo cool!

  • @mibrahim4245
    @mibrahim4245 3 года назад

    Mariya ❤ ..
    Make a tutorial about facebook friend list, to monitor the changes..

  • @marcelochong4065
    @marcelochong4065 3 года назад

    Nice. and how to scrape the vids? hope for the part 2 ~

  • @chrissavelinanastasya
    @chrissavelinanastasya 2 года назад

    how if i want to scrape comments on facebook? do you have any tutorial for that? btw your video is great, thankyou..

  • @yuhgdhg2768
    @yuhgdhg2768 2 года назад

    Wow ur just amazing

  • @simoneparvizi775
    @simoneparvizi775 4 года назад +1

    ty for your vids, could u make a video about the best editor for starters?

    • @PythonSimplified
      @PythonSimplified  4 года назад

      Hi Simone! There's really no "best" editor on the market, everybody has their own preference, but I highly recommend Jupyter Notebook or Google Colab (or generally notebook interfaces) for beginners.
      When you can run your code cell by cell, it is much easier for debugging if you're a Python beginner. You can also include notes in "markdown" cells and add detailed explanations and images as you please.
      I have a quick introduction to Jupyter in one of my older videos:
      ruclips.net/video/jp_3NOKHn9c/видео.html
      I hope it helps 😁
      If you're looking for a traditional IDE interface, I recommend Atom or Brackets, they are both free and very convenient to use.
      Atom: atom.io/
      Brackets: brackets.io/
      However, these would be slightly less convenient than notebooks, as you can't split your code into cells here - you need to run the entire program each time you make a change and want to update something.
      You'd also have to run your code from your command prompt software by calling "python my_file_name.py".
      I'll definitely film a video on interfaces down the road, in the meanwhile check out Jupyter and Atom. They're my favourites😊

  • @jarisipilainen3875
    @jarisipilainen3875 4 года назад

    27:30 yeeah its working so long as facebook not change something. bummer right. you have now copies of pictures with fcb tags smaller quality

  • @Daro_-uk4tl
    @Daro_-uk4tl 3 года назад

    Thanks for cool tutorial

  • @manojks7971
    @manojks7971 3 года назад

    How to extract xhr data in selenium. Without using xhr url link

  • @LynN-he7he
    @LynN-he7he 2 года назад

    How do you know which tags to use? for example, this is the first time I'm hearing of "anchors".
    And thank you sooooo much for these videos!

    • @be_witxhed
      @be_witxhed 2 года назад

      for that, you will have to know the basics of python :)
      anchor tags, paragraph tags, etc. are part of html.

  • @TheBinarydeity
    @TheBinarydeity 4 года назад

    opa! cheeki breeki! do you have bash commands to install tools in linux?

  • @lyricsup8878
    @lyricsup8878 3 года назад

    can you make a video in which we can send the follow request to all the followers of specific person automatically

  • @Tribunall
    @Tribunall 4 года назад

    is it possible to Scraping with BeautifulSoup?

  • @shinymp7691
    @shinymp7691 4 года назад

    Can I get a heart from you?

  • @MatheusSilva-qm3ph
    @MatheusSilva-qm3ph 3 года назад +1

    Very good video congratulations. Do you know any library that allows you to do this on Android?

    • @PythonSimplified
      @PythonSimplified  3 года назад +1

      Thank you Matheus! 😀
      Android you say? I haven't heard of anything that can do that yet, I'm not even sure if it's achievable with headless browsers either... 🤔
      My best guess is using DeX (if you have a Samsung phone) and running your code via Google Colab while using some sort of a headless browser instead of the webdriver (as I don't believe you can run a GUI browser through Colab).
      Another options would be Wayscript, as they have a mobile version for sure! I've recently filmed a PS5 Checking Bot video for them, and I was able to run Selenium heedlessly on their platform so you might get lucky there... it's also a cloud platform, and you can find out more about it in my recent community post:
      ruclips.net/user/postUgxW0DYBJS0ZTlGoRK94AaABCQ
      Good luck and let me know if you were able to figure it out! 😁

  • @laurianekoffi4731
    @laurianekoffi4731 3 года назад

    hi thanks for the video. I want to scratch another page than mine how to do

  • @BrokenHeart-yx2id
    @BrokenHeart-yx2id 3 года назад

    I was stalked on Facebook by someone who mocks me and make fun of the exact precise location of where I live. Is it possible to scrape exact location details from someone else Facebook account?