Wesley Kerfoot
bf6ce1d615
Match anything with "Unlike" for pages because FB keeps changing the
elements
7 years ago
Wesley Kerfoot
940a94afed
Clean up
7 years ago
Wesley Kerfoot
0d1e047aed
Page unliking working using mobile pages
7 years ago
Wesley Kerfoot
2b1346720d
Refactor page links
7 years ago
Wesley Kerfoot
23ba502b65
Grab all URLs from page like page
7 years ago
Wesley Kerfoot
169321e9cc
Refactor settings
7 years ago
Wesley Kerfoot
88e4703889
Fix imports
7 years ago
Wesley Kerfoot
e8e9a3434f
See if a driver.refresh() helps with unliking pages
7 years ago
Wesley Kerfoot
e52dc89e07
Default should be 'True' for archive
7 years ago
Wesley Kerfoot
69313de811
Refactor settings
7 years ago
ConnorSkees
6884c12c40
Add docstring and fix hardcoded strings
7 years ago
ConnorSkees
5a42296b30
Create __main__.py
Allow for it to be run from outer directory with `python deletefb`
7 years ago
ConnorSkees
c89f7a1d6c
Add basic logging
7 years ago
ConnorSkees
8bf8617c15
Refactor
7 years ago
Wesley Kerfoot
e76266f966
Try to use untag button if delete or hide is not an option
7 years ago
Wesley Kerfoot
4401318b2a
Clarify archiving logic in setup
7 years ago
Wesley Kerfoot
1241d6e7e8
Fix bugs with logging and bump version
7 years ago
Wesley Kerfoot
056fd75aae
Add feature to disable logging
7 years ago
Wesley Kerfoot
643929d3dd
Archive wall posts, include timestamp
7 years ago
Wesley Kerfoot
99a30df3de
Remove stray import
7 years ago
Wesley Kerfoot
89a6c2de1d
Use relative imports to allow direct execution
7 years ago
Wesley Kerfoot
9bb624eaa5
Guard against invalid combos of options
7 years ago
Wesley Kerfoot
6bfd729125
Remove unnecessary parameter
7 years ago
Wesley Kerfoot
a26fcf42f3
Unliking pages working
7 years ago
Wesley Kerfoot
fddd373d14
Bug the user if they do not have chromedriver installed
7 years ago
Wesley Kerfoot
e10f57751d
Updates to unlikes (not quite working yet)
7 years ago
Wesley Kerfoot
db015cc281
Add new `mode` parameter, work on unliking pages
7 years ago
Wesley Kerfoot
266b569773
Add a warning when 2FA is enabled
7 years ago
Wesley Kerfoot
d0be69bbbb
(Hopefully) less buggy 2FA
7 years ago
Wesley Kerfoot
5c11163180
Integrate changes that allow selecting year
7 years ago
Joseph D. Marhee
6146103942
adds handling for 2fa code command-line argument
7 years ago
Tuan-Anh Hoang-Vu
b9e2ecee6e
Better support two-factor authentication.
7 years ago
wes
1502feef4b
More cleanup
7 years ago
wes
9f9fcc1ba6
Remove unnecessary imports
7 years ago
wes
81fd9329f9
More refactoring into modules
7 years ago
wes
8cc9074934
Refactoring
7 years ago
wes
2c73a529b3
Start refactoring things into separate modules
7 years ago
ijustlovemath
c0dd1a1f0c
Improving the security of manual password entry
7 years ago
Spirit-act
4b60f72e09
Changed to preferences
7 years ago
Spirit-act
6420ae262b
Added password prompt
7 years ago
Michael Gecht
9f832e6fbd
Refactor selenium exceptions into constant
7 years ago
Michael Gecht
ab6450f33a
Add explicit exceptions
7 years ago
Michael Gecht
22e30f300d
Wrap selector logic in try..except statement
This catches all errors that are thrown, when any
`find_element_by_*` method fails for some reason.
If this happens, we just fall through and wait for
a page refresh and then try again.
7 years ago
ConnorSkees
0f9d1fcb9d
Minor refactoring and reformatting :)
7 years ago
ConnorSkees
a811761928
Remove --no-sandbox flag
7 years ago
ConnorSkees
5367f424f0
Add option for headless mode
update README with instructions on chromedriver
Minor refactor and reformatting
- Tighten whitespace
- Remove superfluous `assert` statement
Minor refactoring and reformatting
Fix missing whitespace between =
Update deletefb.py
Remove git stuff
7 years ago
Wesley Kerfoot
2dc953424d
Fix typo
7 years ago
Wesley Kerfoot
9f1d123dcd
Fixes #6 by adding a pause for 2FA
7 years ago
Wesley Kerfoot
64cf0ed78c
Add a few comments explaining some quirks
7 years ago
Wesley Kerfoot
8fcda848ab
Use driver.implicitly_wait instead of sleeping everywhere
7 years ago