📜 ⬆️ ⬇️

Automatic download of movies

Some time ago, I had already attempted to automate the downloading of movies - at that time it was a service based on the API kinobaza.tv . However, the API was not completely completed then (kinonovinks did not always appear on the list, films in Russian were not always downloaded), and now it seems to be dying altogether. Therefore, I had to make a second attempt - the kino2rss website (although premiers2rss would be more correct).

How it works?

Getting the list of movies


Every Thursday (on the day of the film premiere), the service reads a list of films that appear on large screens from the RSS feed of the Kinopoisk site . Unfortunately, RSS contains a minimum of information about the film - the title, poster, description and ... everything. I thought about other options for obtaining information (for example, parsing a movie search page or obtaining information under the guise of a mobile client), but decided that some of these are not very correct ways. Therefore, the site contains only minimal information.
By the way, requests to add a little more information to the RSS, the administration of the Film Search simply ignores (which, in general, can be understood).

Subscription


To view a list of movies, you must go to the site with your Google ID (the site uses Google App Engine, was made for yourself, because this method of entry is considered acceptable). Looking through the list of movies on the site, for each movie you can put a mark - DVD and / or HD. As soon as the movie appears on the torrent tracker (see below) in the desired quality (DVDRip or 1080p, respectively), it will be automatically downloaded.
')

Getting a list of torrents


Once a day, the service requests the emergence of new films of the appropriate quality on the torrent tracker NNM-Club . The search is conducted on this tracker, because it has a convenient service for getting movies in the form of RSS, and also because it has almost all the new products (without censorship, unlike the same rutreker).
When a new film is detected, the page with its description is downloaded and the id of the movie is searched for in the film search. Accordingly, if a movie with the same id exists in our database, save the link to the torrent file.

Download


To automatically download movies, the service creates a personalized RSS feed. As soon as the torrent file for the chosen movie was found, the corresponding record is added to the tape. And, if the RSS feed is added to your favorite rocking chair (for example, in µTorrent ), the movie will be downloaded automatically. True, you still need to add a Personal Key to the ribbon URL (see details in the ribbon description).

In general, try .

Upd. The following scenario of using the service is assumed: once a week you go to the site, watch the newly added films (they add 6-10 pieces per week), mark those that you are interested in. When a torrent appears in the desired quality (DVD or HD), the movie you have selected is automatically downloaded. Because the site does not search for movies.

Upd2. Out of quota GAE. An error occurs on the site. Try to come back tomorrow;).

Source: https://habr.com/ru/post/152639/


All Articles