rauldipeas
6/18/2019 - 4:29 AM

GitHub Downloads Count

GitHub Downloads Count

#!/bin/bash
sudo apt install -y python-requests
wget -q https://raw.githubusercontent.com/mmilidoni/github-downloads-count/master/gdc;chmod +x gdc
./gdc rauldipeas radix>downloads.log ; tac downloads.log | awk 'NR <=1' | sed 's/	Total Downloads for repo rauldipeas\/radix//g' | echo `xargs expr 4000 + ` Downloads > download-counter.log
#sudo apt autoremove --purge -y python-asn1crypto python-certifi python-cffi-backend python-cryptography python-idna python-ipaddress python-openssl python-requests python-urllib3