0%

Teach you how to build your own network disk resource search engine

Teach you how to build your own network disk resource search

1. Use Google (to be able to surf the Internet scientifically)

Click here to go directly

image-20201114100907681

2. Click to start

Enter the following interface

image-20201114100937412

3. Click New Search Engine

image-20201114101047442

4. Configure in turn

Note that the first one is the website to be searched

image-20201114101417580

5. After creation, click to modify the search engine, select the one just created, and find the search engine ID (you can also click to get the code and insert the code)

image-20201114103410456

If you are not satisfied with the appearance, you can modify it yourself, and finally attach the code

<!DOCTYPE html>
<html>
<body>
<meta charset="utf-8">
<style type="text/css">
#main{
width:750px;
margin:20px auto;


}
#main p{
text-align:center;
font-size:25px;
font-weight:bold;
margin-button:100px;
}
</style>
</body>
<head>
<div id="main">
<p>
Baidu Netdisk Resource Finder
</p>
<script>
(function() {
var cx ='Your search engine ID';
var gcse = document.createElement('script');
gcse.type ='text/javascript';
gcse.async = true;
gcse.src ='https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:search></gcse:search>
</div>
</head>
</html>
-------------The end of this articleThank you for your reading-------------