Solutions are retrieved from the official site.
pip install wget
pip install lxml
pip install requests
To parse other site, change addr
. To choose target directory to put files, change download_dir
. Also change pattern (default .py
) and target tag to match (default href
).
python parse_py.py