Home  >  Article  >  WeChat Applet  >  How to get music links in WeChat applet (picture and text)

How to get music links in WeChat applet (picture and text)

不言
不言Original
2018-08-10 16:29:1814017browse

The content of this article is about how to obtain music links (pictures and texts) in the WeChat applet. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

When writing a small program, I want to add a music function, but the link is not easy to obtain? Then look at:
Take QQ Music as an example:
1. First enter the music play page, as shown in the picture:
How to get music links in WeChat applet (picture and text)
2. Press F12 or click on the developer tools (Google is used here) Chrome), then click network, then click media, and then click the value of name below (refresh after calling up the developer tools, otherwise there will be no data), as shown in the figure:
How to get music links in WeChat applet (picture and text)

3. After clicking, you can see the content that appears on the right. The content after the Request URL is the link, as shown in the picture:
rHow to get music links in WeChat applet (picture and text)

Related recommendations:

WeChat Mini Program Summary of methods for returning to the previous page with parameters (three types)

Code examples of multiple data caches in WeChat mini programs

The above is the detailed content of How to get music links in WeChat applet (picture and text). For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn