Sign inSign up

gellany/gellany_table

By gellany

Updated about 4 years ago

https://github.com/gellanyhassan0/gellany_table/

Image
0

192

gellany/gellany_table repository overview

gellany_table

app help to web scraping many kind of tables inside html static or dynamic response as send keyword to serach box and getting results

python3 gellany_table.py --url "https://en.wikipedia.org/wiki/List_of_The_Simpsons_episodes_(seasons_1%E2%80%9320)" --table "1"
python3 gellany_table.py --url = "https://www.thesun.co.uk/sport/football/" --element = '//div[@class="teaser__copy-container"]' --search = "s" --key = "goals"
python3 gellany_table.py --url = "https://www.football-data.co.uk/mmz4281/2122/E0.csv"

docker deploy

#/home/go/ = your path your already download git folder in it

docker image build -t gellany_table /home/go/gellany_table --no-cache
docker run --publish 4444:4444 -it -d gellany_table
docker ps
docker exec -it 83ea954d9b5a python3 gellany_table.py --url "https://en.wikipedia.org/wiki/List_of_The_Simpsons_episodes_(seasons_1%E2%80%9320)" --table "1"

docker stop f77d93571bcc
docker ps

docker pull direct

#/home/go/ = your path your already download git folder in it
docker pull gellany/gellany_table
docker run --publish 4444:4444 -it -d gellany/gellany_table
docker ps
docker exec -it 83ea954d9b5a python3 gellany_table.py --url "https://en.wikipedia.org/wiki/List_of_The_Simpsons_episodes_(seasons_1%E2%80%9320)" --table "1"
docker stop f77d93571bcc

docker push

docker login --username username
docker image list
docker tag a2ac10640f5b gellany/gellany_table
docker push gellany/gellany_table:latest

docker image list removed

docker images rm

docker image remove all

docker image list|awk '{print $3}'|xargs -I z docker rmi --force z
docker image list

docker system Remove unused data

docker system prune --force

docker check and delete volume

docker system df
docker system prune

Tag summary

Content type

Image

Digest

Size

690.2 MB

Last updated

about 4 years ago

docker pull gellany/gellany_table