User script for the browser - expanding file sharing capabilities, as well as a way to survive pirated sites under anti-piracy laws

I’ll immediately make a reservation, below there will be links to ready-made scripts, as well as thoughts that have not yet been implemented in the code. In this article, we will consider the possibilities of integrating DC ++ with torrent sites, the features of using magnet links in DC ++ and torrents, as well as some interesting ideas for providers.

Perhaps many of those interested in reading will be able to make a simple script for themselves and share it with others .

Torrent trackers are now “trackers” for DC ++ FlylinkDC clients


Starting with version 502, Flylink can work with a magnet link containing only the file name, the kt parameter will perform a normal search by name on the user’s hubs, an example of such a magnet link:

magnet:?kt=Eaglewalk

An example of distribution on one portal using this kind of kinomax links . by / 112508-orlinaya-tropa.html

If you add the xl parameter to such a magnet link , Flylink will also search by name, but only files matching the size of xl in the magnet link will be shown. Link example:

magnet:?kt=Eaglewalk.avi&xl=1698765

You can increase the search efficiency of such a link if instead of the name of the Eaglewalk.avi file there are the last four characters, that is, the .avi file extensionLink will be:

magnet:?kt=.avi&xl=1698765

Such links can be easily obtained for each file from the list of files in the distribution on the torrent tracker.

image

This script for the rootkeeper from D0Gmatist ( rootkeeper user): yadi.sk/d/8P9uoG4PVtTJL

You can add magnet icons for several search parameters kt + xl (search by file name and its extension):

image
Ready script for rutracker.org and rutor sites .org from panfilov22 dl.dropboxusercontent.com/u/44094937/js/dchub.user.js
and a manifest file for it dl.dropboxusercontent.com/u/44094937/js/dchub/manifest.json dchub

parameter : before magnetit is necessary that the browser sends these links only to the DC ++ client. Although it is not necessary to add.

Magnet links for torrent where they are not


If you like downloading torrents using magnet links, but the engines of some sites (such as the root tracker) do not allow you to do this. You can also do with a script in the browser.

image

The script for the rl tracker dl.dropboxusercontent.com/u/44094937/js/hash2magnet.user.js is also made by the user of the panfilov22 rutreker .

About integration with the provider’s internal resources


It is no secret that providers are very interested in localizing the traffic of "heavy" content within their network. To prevent the main traffic from escaping from the user beyond peering, many providers launch various file-sharing services on their local network: DC ++ hub, torrent tracker, ftp dump, local retracker.local / announce and isp.bep22 retrekers, etc. However, the user is in most cases, it ignores the internal resources of the provider, which in terms of speed of filling, content selection, etc. in all lose to well-known large resources on the Internet.

A possible solution could be a user script made by the provider for its users. Having contacted the local server of the provider, the script can receive data on whether there are distribution files on the provider's local network, add some parameters to the magnet link and notify the user that this file is on the local network, which he can download very quickly.

image

In the screenshot:
Under the icon is imagea regular magnet link from the rutracker.
At the beginning of the page loading, the script will ask from the local server whether there is a corresponding hash for DC ++ on the existing torrent hash. If there is, the magnet icon imagewill change to a brighter and larger image

Magnet link will take the form:

dchub:magnet:?xt=urn:tree:tiger:N4TUTYVJY2OZQLPYE275YVN7GNAV2TQWXL7JDCA&xl=31&dn=start_%D0%B2_%D0%BE%D0%BA%D0%BD%D0%B5.bat&xs=dchub://dchub.by/
&xt=urn:btih:5A42FC270489D228E0C88676A83E1E5BD01D8849&tr=http%3a%2f%2fretracker.local%2fannounce


If the script also asks the server “is there a dcls file” and it answers what it is, you can display an icon imageon the http link next to the magnet where the dcls file is located.

Similarly, for web-side, if for example the file is not in DC, but it is on the local http server. Then it will ......&ws=http://media_file.local/название_файла.avi

be added to the magnet link. Maybe someone can add the statistics of the local retracker to the script:

image

Distribution not deleted by copyright holders


If you fantasize, and imagine that the administrators of the rootkeeper or root decided to make such a script with reference to the distribution base rutracker.org/forum/viewtopic.php?t=4204390 for its users. A downloadable distribution page without a script will be able to look like this:

image

And copywriting does not get to the letter of the law.

And if you misbehave, then you can make a script of magnet links for cinema search, or for sites that are trying too hard to fight piracy ...

PS
If anyone is interested in this topic and there are people who want to help write such user scripts, I ask here:
rutracker.org /forum/viewtopic.php?t=3793301&start=30

Also popular now: