Get the original video from the web link

   The background of the story in this article is: a teacher wants to extract the video resources of a public account as a teaching file. At the beginning, the teacher’s demand is to cut the video that she recorded herself (as shown in the figure below, the recorded video It was really difficult for me to cut it into only the video area), and later I found out that the recorded video was a link resource from a certain place, so I found that I could use professional knowledge to help him obtain the original video to meet his needs.

start teaching

    This article is aimed at non-technical users, so it should be more detailed, and it will be explained uniformly using Google Chrome.

Prepare

    1. Download and install Google Chrome https://www.google.cn/intl/zh-CN/chrome/ and install it like a fool

    2. Set Google Chrome as the default browser (only for Windows 10 users, other versions are similar, mac users can inquire how to set the default browser on Baidu)

         2.1. Click the "Start" (window logo) menu in the lower right corner, and then click Settings

    2.2. Click on the home page 

 

       2.3. Click to apply 

 

    2.4. Click the default application 

 

     2.5. Click the current default browser under the web browser and select Google Chrome

 

3. Open a public account link, click on the top to open with the default browser 

So far the preparations have been done

method one

1. In the opened link, click the F12 button on the keyboard to pop up the console as shown in the figure below

2. Click the network on the console, and then select the ALL type, which is also the All type by default.

 

3. Clear the network requests that have been initiated on the console newword. The purpose of this operation is to see the target requests more conveniently and quickly. After clearing, it will look like the above picture (shown in step 2) 

4. Click the play button on the web page, and the newword window on the console will display the list of All (all) network requests initiated, as shown below 

5. Find the line whose type is media. Click on the name on the far left, and then display as follows. Copy the request URL in the red box as shown below 

6. Open the copied link in the browser, as shown below. Then click the three dots in the lower right corner and there will be a download button. Click to download. 

The second method

  1. Browse this page in Google Chrome

  2. Click F12 to pop up the console

  3. Click to play video

  4. Move the mouse to the video, right-click => click to check, as shown in the figure

      5. Copy the value in src="value" in the video tag, which is the MP4 file address

      6. Open the address in the browser window and download it

third method

For the case where neither the first nor the second method can be found, use this method

  1. Browse this page in Google Chrome

  2. Click F12 to pop up the console

  3. Click to play video

  4. Find the console button on the console and click it, then click to clear all logs on the console for easy viewing

     5. Copy this code to the control panel and press Enter, as shown in the figure below

document.getElementsByTagName("video") 

6. Click on the arrow on the left of HTMLCollection to expand the detailed content. Similarly, click to expand the following

7. After unfolding, it is as follows. Due to the large amount of content, some parts will be omitted. You need to click ... to display it. Click as shown in the figure below 

8. Then find the src field and copy the following link. 

9. Open this link in your browser and download

Summarize

        The above three methods, in fact, the ultimate goal is to find the MP4 link address, and then open it in the browser, and use the download function in the built-in player to download the MP4 file. This article hopes to help you in need. If you have any questions or cooperation, you can chat privately.

Kind tips

        The domain names that may be involved in all the attached pictures in this article have been coded. If there is any infringement, please inform and deal with it in time.

Guess you like

Origin blog.csdn.net/weixin_42232156/article/details/129299391