Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
haccer committed Mar 2, 2021
1 parent 4b30fa3 commit e7c8a0c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:3.6-buster
LABEL maintainer="[email protected]"

WORKDIR /root

RUN git clone --depth=1 https:/twintproject/twint.git && \
cd /root/twint && \
pip3 install . -r requirements.txt

CMD /bin/bash
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ pip3 install --user --upgrade git+https:/twintproject/twint.git@orig
pipenv install git+https:/twintproject/twint.git#egg=twint
```

### March 2, 2021 Update

**Added**: Dockerfile

Noticed a lot of people are having issues installing (including me). Please use the Dockerfile temporarily while I look into them.

## CLI Basic Examples and Combos
A few simple examples to help you understand the basics:

Expand Down

3 comments on commit e7c8a0c

@DolevAlgam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After building this Dockerfile I still get:
twint.token.RefreshTokenException: Could not find the Guest token in HTML
While running Python code importing twint or by using the twint cli

@DolevAlgam
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BradKML
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most are still upset about the PyPi package being not up-tp-date, unfortunately.

Please sign in to comment.