In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
In this article, we will learn how to deal with the web address that cannot be collected by phpcms. There is a certain reference value, friends in need can refer to, hope to help you.
When phpcms collects, the solution of "URL list not found, please collect URL first" is prompted.
Newly installed phpcmsV9. After writing the collection rules, click the test, you can mention the URL, and you can also extract the article. However, when the actual collection is carried out, after the URL collection is successful, when the content collection is carried out, it is prompted that "the URL list has not been found, please collect the URL first."
Obviously, the web site has been collected. It should be a matter of procedure.
I looked for it on the Internet, and sure enough, it was a code problem. Modification method:
Modify
Phpcms\ modules\ collection\ node.php
Line 291
If (empty ($v ['url']) | | empty ($v [' title'])) continue
For
If (empty ($v ['url'])) continue
The reason is that when phpcms collects a list of URLs for storage, it detects that both "URL" and "link title" are not empty.
Delete the judgment that "the detection title is empty".
And then the test succeeds.
I read on the Internet that some people said that they were still unsuccessful after the change. In fact, you extract the URL, in the database, it no longer repeatedly extract the URL, resulting in "this time there is no URL extraction." The solution is
Clear the contents of the v9_collection_history table. You can extract it back to the web site.
The above is a brief introduction of how to deal with the URL that can not be collected by phpcms. Of course, the differences in the detailed use of the above have to be understood by everyone. If you want to know more, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.