Crawling Douban movie information

Yesterday, I wrote a little reptile, which crawled the film information of 2017 mainland China on Douban. The website is Douban film , crawled the movie name, director, screenwriter, star, type, release time, length, score and link, and saved them in MongoDB. The IP address of the machine used at the beginning, without proxy IP, can't receive d ...

Added by LHBraun on Sun, 01 Dec 2019 16:55:20 +0200

Spring Series-Actual Text-Development Based on mongodb

1. Preface In our enterprise development, the most commonly used are relational databases (oracle, mysql, sqlserver, etc.). These jdbc-Based data interaction methods can be achieved by integrating mybatis in spring, which is explained in this series of articles "Spring Series - Actual Warfare (4) - How you know MyBatis". However, for ...

Added by celsoendo on Sun, 17 Nov 2019 12:00:46 +0200

Weblux user management interface

A simple CRUD for user management has been completed. Now we need to show it on the page to facilitate user management. Although it is now popular to separate the development before and after, but in some small companies do not need front-end developers, the page is also the back-end development in writing. So this time we use thmeleaf to devel ...

Added by elflacodepr on Thu, 14 Nov 2019 18:19:35 +0200

Using MongoDB in Laravel

MongoDB utility scenarios Product user access log, click buried statistical information Business System Environment Parameter Configuration Information Business system runtime logs, such as laravel.log, nginx.log Install MongoDB PHP Driver on macoOS using Homebrew In macOS, the MongoDB extension has been removed from the Homebrew repository ...

Added by bigfatpig on Sun, 10 Nov 2019 07:08:02 +0200

mongodb Parts of Fake Form Data from Form Builder

The article finally got back on track: faking data for mongodb.Previous random numbers, random license plates, random times, and Chinese strings of a specified length from this note are all preparations for this note.Take a look at our preparation (code base) // 1,Gets a random number in a specified range-Include maximum and minimum value ...

Added by blacksheepradio on Thu, 07 Nov 2019 15:42:21 +0200

python operates MongoDB database

MongoDB is a database composed of multiple collections, and each collection is composed of multiple documents. File: #Be similar to { "_id" : ObjectId("5d2944d421b631f231d08056"), "username" : "Li Yang", "password" : "123456", "age" : 25, "gender" : "male", "dept" : [ { "title" : "Produc ...

Added by jinwu on Mon, 28 Oct 2019 21:39:16 +0200

Summary of Lftp+Sftp Transmission

Background Introduction:Because of the continuous expansion of backup data, it is necessary to transfer the backup data (about 2T) from the existing network back to the local area for remote storage. But 2T is too big and needs to be compressed. Here we use 3G as a compression package. Here is the compression script #!/bin/bash # This script i ...

Added by metrathon on Sun, 06 Oct 2019 13:51:19 +0300

Connect MongoDB on aliyun using the authenticationDatabase parameter

Usually, we do this by connecting MongoDB from the command line: mongo -u <user> -p <pass> --host <host> --port 28015 Or use the standard connection string address URI: mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[database][?options]] # for example mongo mongodb://127.0.0.1:27017 It can also be used direct ...

Added by vaaaska on Sat, 05 Oct 2019 19:12:57 +0300

MongoDB 3.0.6 Start script, user management, import and export Libraries

Preface: Installation steps, please check This blog(https://blog.csdn.net/tingfengqianqu/article/details/101381150) 1. Import database 1) Modify configuration files Before importing data, you need to annotate the password authentication of mongodb.conf, and you cannot execute the mongodb service befor ...

Added by Jeyush on Mon, 30 Sep 2019 13:11:08 +0300

Common Sorting Algorithms and Their Corresponding Time and Space Complexities

I organize Java advanced materials for free, covering Java, Redis, MongoDB, MySQL, Zookeeper, Spring Cloud, Dubbo, high concurrent and distributed tutorials, a total of 30G, need to collect. Portal: https://mp.weixin.qq.com/s/JzddfH-7yNudmkjT0IRL8Q   Sorting algorithms have evolved over a long period of time, resulting in many different ...

Added by pfchin on Fri, 20 Sep 2019 10:52:46 +0300