Alfred Sawaya
85d4e461b0
Set a maximum of refreshes when wall is empty
The previous behaviour was to try to delete 5000 posts, even if the wall
is empty. The drawback was that if you want to delete only 10 posts,
then you would wait 5000*5 secondes (~7 hours) before the end of the
script.
Now, you can set a number of tries before quitting. If the delete button
is not found consecutively during this number of times, then we break
the loop.
I also added an environment variable parser like argparse to ease the
future use of other env variables.
5 years ago
Wesley Kerfoot
64c46e378b
Update chrome_driver.py ( #111 )
5 years ago
Wesley Kerfoot
5da3367df6
print exceptions ( #108 )
5 years ago
Wesley Kerfoot
bc210890e5
Refactor imports
5 years ago
Wesley Kerfoot
0e24537f42
More refactoring
5 years ago
Wesley Kerfoot
abe597db9b
Refactor variable names
5 years ago
Wesley Kerfoot
7a92f80a2a
add option to pass path to chrome binary
5 years ago
esir
d08d8861d4
Code cleanup
6 years ago
esir
511b43a9f1
Automatically downloads chrome driver for users according the their os platform
6 years ago
wes
5384c082d9
Add new arguments for headless option #89
6 years ago
wes
63f7109c22
Fixes #79
6 years ago
Wesley Kerfoot
06da87fba6
Deletion of conversations working
6 years ago
Wesley Kerfoot
c91bec3367
Conversation deletion almost working
6 years ago
Wesley Kerfoot
e1c7e822f3
Refactoring, almost support deleting
6 years ago
Wesley Kerfoot
81262fe4d7
Add timestamps to archive files
6 years ago
Wesley Kerfoot
5377b48850
Prettify archives, log image links in convos
6 years ago
Wesley Kerfoot
01647262c3
Use cattrs to serialize conversations in archive
6 years ago
Wesley Kerfoot
b2e4a92e82
Rename `timestamp` to `date` to be consistent
6 years ago
Wesley Kerfoot
7697af2481
Construct Message instances for each message in a convo
6 years ago
Wesley Kerfoot
015f57a17f
Can now get entire conversations
6 years ago
Wesley Kerfoot
b74dd81e0d
Support for filtering conversations by year
6 years ago
Wesley Kerfoot
0355ebcc66
Refactor timestamp parsing
6 years ago
Wesley Kerfoot
aa9e3672c3
Package up conversations into its own type now
6 years ago
Wesley Kerfoot
442fc14296
Fixes #75
6 years ago
Wesley Kerfoot
723d90981d
Try parsing conversation timestamps, if they exist
6 years ago
Wesley Kerfoot
65e6286234
Iterating through all conversations working!
6 years ago
Wesley Kerfoot
d17919f675
Gathering conversations
6 years ago
Wesley Kerfoot
3939c8642d
(almost) working list of convo URLs
6 years ago
Wesley Kerfoot
fbc18058bd
Clean up new modules
6 years ago
Wesley Kerfoot
6e8970b23f
Stubs for removing messages and comments, new type for convos
6 years ago
Wesley Kerfoot
41ab642f32
More robust login procedure
6 years ago
Wesley Kerfoot
17f00abff7
More robust handling of paths in archiver
6 years ago
Wesley Kerfoot
07cc35ce50
Cleanup
6 years ago
Wesley Kerfoot
0cebd82af8
Remove unused imports
6 years ago
Wesley Kerfoot
91594a6cd4
Refactor types into separate module
6 years ago
Wesley Kerfoot
f159937e1d
Fix bugs with archiver
6 years ago
Wesley Kerfoot
f4ba552fc4
Fix missing imports
6 years ago
Wesley Kerfoot
8ac0351ab2
Cleanup & refactoring
6 years ago
Wesley Kerfoot
8bc51b88d7
New archiver semi-working
6 years ago
Wesley Kerfoot
dbf3649583
Refactor in progress
6 years ago
Wesley Kerfoot
73e98905c0
Construct path to logging conf using __file__ variable
6 years ago
wes
f880493183
Fix error with missing data file
6 years ago
Wesley Kerfoot
e1ec0a89a6
Try to refactor delete options
6 years ago
Wesley Kerfoot
b9db5d0eb2
Cleanup
6 years ago
Wesley Kerfoot
f4b015b95f
Try to move elegantly handle broken pages
6 years ago
Wesley Kerfoot
2580f4594e
Bump version and refactor to use bloom filters for avoiding dups
6 years ago
Wesley Kerfoot
bf6ce1d615
Match anything with "Unlike" for pages because FB keeps changing the
elements
6 years ago
Wesley Kerfoot
940a94afed
Clean up
6 years ago
Wesley Kerfoot
0d1e047aed
Page unliking working using mobile pages
6 years ago
Wesley Kerfoot
2b1346720d
Refactor page links
6 years ago