Skip to content

ychsieh95/autoremove-fbsaved

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Auto-Removed

A CLI tool for removing saved items in Facebook.

Requirpments

  1. Python 3.6+
  2. WebDriver (can modifiy the privoder by yourself, e.g. Google Chrome, Microsoft Edge, Mozilla Firefox)

Usage

  1. Install package selenium:

    $ pip3 install selenium
  2. Download the Microsoft Edge WebDriver from official. At this step, make sure the WebDriver version you install matches your browser version. You can follow the steps provided by Download Microsoft Edge Driver to do it correctly.

    If you want to use other WebDrivers, just download the executable and modify the name of WebDriver in the code:

    ...
    # Default, for Microsoft Edge
    self.driver = webdriver.Edge()
    
    # For Google Chrome
    self.driver = webdriver.Chrome()
    
    # For Mozilla Firefox
    self.driver = webdriver.Firefox()
    ...
  3. Put the WebDriver executable in the directory. The directory architecture should be:

    .
    |-- Driver_Notes
    |   |-- EULA
    |   |-- LICENSE
    |   `-- credits.html
    |-- README.md
    |-- main.py
    `-- msedgedriver.exe
    
  4. Run the python script:

    $ python main.py --help
    usage: main.py [-h] -u USERNAME -p PASSWORD [-o OPTION]
    
    A CLI tool for removing saved items in Facebook.
    
    optional arguments:
    -h, --help            show this help message and exit
    -u USERNAME, --username USERNAME
                            facebook username
    -p PASSWORD, --password PASSWORD
                            facebook password
    -o OPTION, --option OPTION
                            options of remove: all, links, videos, photos, places, products, events, offers, unlisted_only, seen, archive

    For example, if you want to remove all saved items:

    $ python main.py --username=<Facebook_Username> --password=<Facebook_Password>

    Or you want to remove all videos saved items:

    $ python main.py --username=<Facebook_Username> --password=<Facebook_Password> --option=videos

About

A CLI tool for removing saved items in Facebook.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages