Skip to content

Automate and Scapping the Facebook website with selenium in python.

License

Notifications You must be signed in to change notification settings

Tithibots/tithif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

tithif

Automate the Facebook website with selenium in python.

Full explained Videos on that project are coming soon. Stay tune with our youtube channel Noobie Techs

Table of contents

Contribution and creativity points

Selenium automation creativity points

  1. Debugging Example
    We can create breakpoints to pause execution at any time then we can try to run some python code in the console to find a way to do something. That helps to develop efficiently.
  2. CTRL + Left mouse click Example
    We can see the definitions or references or usages of any function or variable in our IDE like PyCharm. That helps to understand the existing code base efficiently.
  3. Inspect elements and console Example
    In chrome, we can inspect HTML elements and run javascript code inside console. That helps up to find better selectors and automations steps efficiently.

NOTE: By pressing UP key we can see the history about what codes we had run during Python debugging and inside Chrome's console.
NOTE: If you are running javascript code inside selenium chromedriver's console then it will NOT keep history.
Good luck :)

Automation ideas

  • generate_session(sessionfilename): To generate session files with extension .fb
  • open_session(sessionfilename): To open session files with extension .fb
  • open_chat_to_fb_numeric_id_or_username(numberorusername): To open chatroom to someone by using facebook numeric id ot username.
  • open_chat_to_profile_url(url): To open chat to someone from profile url
  • send_message_to_currently_opened_chat(message): To Send message to currently opened chatroom
  • send_message_to(numberorusername, message): To send message to someone
  • scrape_likes_from_first_n_posts(url): To scrape likes of posts of someone
  • track_online_status(url): To track online status for someone and save the data in a file
  • create_3_days_online_status_wallpaper_from_url(url): to show an image visually showing online status for 3-days
  • create_3_days_online_status_wallpaper_from_file(url): to show an image visually showing online status for 3-days
  • ``

About

Automate and Scapping the Facebook website with selenium in python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages