📜 ⬆️ ⬇️

Browser Browser - empowering file sharing, as well as a way to survive pirated sites with anti-piracy laws

At once I will make a reservation, below there will be links both to ready-made scripts, and just thoughts not yet implemented in the code. The article will look at 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 can make a simple script for themselves and share it with others .

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


Starting from version 502, Flylink can work with a magnet link containing only the file name, the kt parameter will be used to perform a simple search by name on existing hubs of the user, an example of such a magnet link:

magnet:?kt=Eaglewalk

An example of distribution on a single portal where this type of links is used kinomax.by/112508-orlinaya-tropa.html
')
If you add the xl parameter to such a magnet link, Flylink will also search by name, but will only show files that match the size of the xl value in the magnet link. Link example:

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

The effectiveness of searching through such a link can be increased if instead of the name of the Eaglewalk.avi file there are four last characters, that is, the .avi file extension. The link 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 is for rutreker from D0Gmatist (user of rutreker): yadi.sk/d/8P9uoG4PVtTJL

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

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

The dchub parameter : before magnet is required for the browser to send these links only to the DC ++ client. Although it is not necessary to add.

Magnet links for torrents where there are none


If you like to download torrents via magnet links, but the engines of some sites (such as rutreker) do not allow you to do this. You can also do a script in the browser.

image

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

About integration with the internal resources of the provider


It is no secret that providers are very interested in localizing the traffic of “heavy” content within their network. In order for the main traffic not to run away from the user outside the peering, many providers launch various file-sharing services on their local network: DC ++ hub, torrent tracker, ftp crawler, local retracker retracker.local / announce and isp.bep22, etc. However, the user is in most cases, it ignores the internal resources of the provider, which in terms of filling speed, content selection, etc., lose in everything to well-known large resources on the Internet.

A possible solution could be a user script made by the provider for its users. Script contacting the local server of the provider, can get data whether there are distribution files in 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 image An ordinary magnet link is hidden from the rutracker.
At the beginning of the page loading, the script will ask from the local server if there is a corresponding DC ++ hash for the existing torrent hash. If present, magnet icon image will change to a brighter and larger image

The magnet link will look like:

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 "if there is a dcls file," and he will answer what is, you can display the icon next to the magnet image on http link where dcls file is located.

Similarly, on the web site, if for example the file is not in DC, but it is on the local http server. Then the magnet link will be added ......&ws=http://media_file.local/_.avi

Maybe someone will be able to add to the script and the statistics of the local retreker:

image

Distribution not deleted by the owners


If you fantasize, and imagine that the admins of the rutraker or rutor decided to make such a script with binding to the distribution base rutracker.org/forum/viewtopic.php?t=4204390 for their users. The downloadable distribution page without a script can look like this:

image

And a copywriter is not written to the letter of the law.

And if you gossip, you can make a script of magnet links for film searching, or for sites that are trying too hard to deal with piracy ...

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

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


All Articles