How to verify the validity of URL in the database
This article will explain in detail how to verify the validity of URL in the database. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.
Although the URL of some songs in the music library exists, the music can no longer be downloaded according to URL.
Nginx displays a 404 error.
Verify that the URL of the songs in the database can be downloaded
First of all, export the song URL in the database to a file. The following format (song ID, music address type, path)
1000 Beijing Accountability URL; / 00/00/00001000_accompaniment.m4a
Then use the program to scan the URL
Org.apache.logging.log4j
Log4j-api
2.7
Org.apache.logging.log4j
Log4j-core
2.7
Io.netty
Netty-all
4.1.0.Final
The program is crappy. We need to learn about object encapsulation in the future.