Get the App
SLTechnology News&Howtos  ›  Development  › 

How to verify the validity of URL in the database

Shulou Source: shulou.com Published: 2022-06-02 11:02:20 10月02日 Update

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.

Tags: Data database song validation valid valid content file article more knowledge program article music processing good address object format type Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Tech Info Linux MariaDB vpn