Comments (16)
from deletefb.
from deletefb.
@mmatoscom
I think this line
https://github.com/mmatoscom/DeleteFB/blob/1cccf4a2c5eb2371fcba88966c81235d726715b0/Dockerfile#L77
Should be CMD python3 -m deletefb.deletefb
since you're executing it as a module, not directly as a script
from deletefb.
Also, do you think it would be possible to use alpine as the base image? Or at least a minimal debian base image?
from deletefb.
Hi @weskerfoot
I am creating a Makefile to make it easier to use docker, so by typing make
it will build the image and ask for the values as follows:
@read -p "Enter your Facebook email: " email; \
@read -p "Enter your Facebook password: " password; \
@read -p "Enter your Facebook username: " username;
then spin-up the container with proper env vars loaded, almost getting there, when finished will ping you again
cheers
Marco
from deletefb.
from deletefb.
I am doing the Dockerfile this week, won't be lightweight since we need to export X11 in order to open graphics in host (for browser/selenium), and will work only in Linux and OSX. When it work I will open a PR. cheers, Marco
from deletefb.
I am currently stuck with the following:
/usr/bin/python3: Relative module names not supported
you can check the files on my fork at https://github.com/mmatoscom/deletefb
from deletefb.
@weskerfoot Hi, thanks for the messages. I will try the correct CMD, and yes i think it could be a lightweight image since we are mounting X in the host, will check today.
from deletefb.
@weskerfoot hi, so it worked, now I got to setup ENV vars
in order to pass them from command line when container is starting
and then check for X
Step 13/13 : CMD python3 -m deletefb.deletefb
---> Running in d65aeaf6337c
Removing intermediate container d65aeaf6337c
---> cd95bd7252f3
Successfully built cd95bd7252f3
Successfully tagged deletefb:latest
usage: deletefb.py [-h] [-M {wall,unlike_pages}] -E EMAIL [-P PASSWORD] -U
PROFILE_URL [-F TWO_FACTOR_TOKEN] [-H] [--no-archive]
[-Y YEAR]
deletefb.py: error: the following arguments are required: -E/--email, -U/--profile-url
from deletefb.
even using debian:stable-slim
which is 55.3M, the image size is 1.12GB
but it built fine and we got the same output, will work on the env vars now
→ docker images|grep deletefb
deletefb latest b76434a64455 13 minutes ago 1.12GB
Step 12/12 : CMD python3 -m deletefb.deletefb
---> Running in 654af68f5d80
Removing intermediate container 654af68f5d80
---> b76434a64455
Successfully built b76434a64455
Successfully tagged deletefb:latest
usage: deletefb.py [-h] [-M {wall,unlike_pages}] -E EMAIL [-P PASSWORD] -U
PROFILE_URL [-F TWO_FACTOR_TOKEN] [-H] [--no-archive]
[-Y YEAR]
deletefb.py: error: the following arguments are required: -E/--email, -U/--profile-url
from deletefb.
@weskerfoot it worked!
i will open a PR, we can improve from now on
but chrome is opening, and deleting the posts !!
from deletefb.
@mmatoscom That's awesome, I'll test it out when I get a chance
from deletefb.
maybe this should be closed?
from deletefb.
from deletefb.
Its still open, just you and who opened this issue are able to close it
from deletefb.
Related Issues (20)
- Execution Blocked HOT 1
- Remove Tag is not working properly.
- ImportError: cannot import name '_GenericAlias' from 'typing' HOT 5
- [Question] any workaround for Facebook blocking the script from running. HOT 1
- Page not found error when script navigates to "/timeline" page HOT 3
- Cookie acceptance modal breaks login HOT 1
- Delete posts in groups HOT 1
- Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[text()='Remove tag']"} HOT 5
- chromedriver issues HOT 1
- Windows bug HOT 3
- Wrong activity timeline URL: "Could not find any posts:" HOT 14
- 'NoneType' object has no attribute 'get' HOT 3
- deletefb.exceptions.ChromeError: Chrome version not found HOT 2
- Probloem starting DeleteFB HOT 1
- docker: Error response from daemon: error gathering device information while adding custom device "/dev/dri": no such file or directory. ERRO[0000] error waiting for container: context canceled make: *** [Makefile:13: run] Error 127 HOT 1
- Crashes once logged in HOT 2
- Remove-FB
- SyntaxError: invalid syntax (probably due to a middle initial included in the profile URL)
- Doesn't work anymore HOT 2
- Struggling to run this in Docker HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deletefb.