How to download B station video using python

The first step: download and install python3.7 (the latest)
configuration environment variables: computer-> properties-> environment variables-> modify the system variable path, add the installed python directory.
Step 2: Hold down the "win + R" key on the keyboard, enter "cmd" in the running window that opens, and click OK.
Insert picture description here
The third step: install you-get tool
pip3 install you-get enter to complete the installation

You-get is a project on GitHub, which can also be said to be a command-line program to help you download videos, pictures, and audio from most mainstream websites.
There are many supported websites, we can look at some first.
Foreign website:
Insert picture description here
Domestic website:
Insert picture description here
Step 4: How to download video resources (such as B station video)

  1. Copy the video connection of station B
  2. Enter the you-get video link in the command line tool and click the "enter" button to download.
  3. If you want to choose high-definition or Blu
    - ray you-get -i video link will appear to remind you.
    Insert picture description here
    Finally, you-get --format = mp4hd video connection, you can.
Published 34 original articles · Likes0 · Visits 1089

Guess you like

Origin blog.csdn.net/qq_42634696/article/details/105122987