This script is used to crawl source code from bitbucket repos.
try download clone_url from bitbucket_download_mnbvc.
python3 bitbucket.py -u [USERNAME] -p [BITbucket_APP_TOKEN] -o [OUTPUT_DIR] -i [INPUT_FILE]
- [USERNAME]: your bitbucket username.
- [BITbucket_APP_TOKEN]: bitbucket app password, setuped in app-password adn you can follow the tutorial.
- [OUTPUT_DIR]: default value is
./bitbucket
, which is used to store source code compressed packagesxxx.zip
and running logsres.txt
. - [INPUT_FILE]: default value is
clone_url
, which is a list of bitbucket repos.
You can contact me via email [email protected].