Download music from wrzuta.pl

  • Idea
  • Updated 4 years ago
Wrzuta.pl is a very large collection of music files, so you can write to him pretty search engine and plugin to download file.

Download from this services is very easy to make.
First: You can download this: 1 http://artina.wrzuta.pl/audio/sLJFFQW... replace the link /audio/ to /aud/file/
Second: Save download file under the name of the URL or to the url.
Photo of

  • 3 Posts
  • 0 Reply Likes
  • happy

Posted 6 years ago

  • 7
Photo of

  • 136 Posts
  • 47 Reply Likes
Okay, here's a simple example of how to extend the web scraper using a patch. This is really just the beginning, but it should be able to get you started.

Index: app/content/scripts/webscraper/webScraper.js
===================================================================
--- app/content/scripts/webscraper/webScraper.js (revision 11825)
+++ app/content/scripts/webscraper/webScraper.js (working copy)
@@ -62,6 +62,7 @@
let steps = [
WebScraperSteps.DocumentURLSource,
WebScraperSteps.CancelScrape,
+ WebScraperSteps.Wrzuta,
WebScraperSteps.MediaURL,
WebScraperSteps.Hacks_DropBadUrls,
WebScraperSteps.DupeCheck,
Index: app/content/scripts/webscraper/scraperSteps.js
===================================================================
--- app/content/scripts/webscraper/scraperSteps.js (revision 11825)
+++ app/content/scripts/webscraper/scraperSteps.js (working copy)
@@ -180,10 +180,31 @@
mediaURLSchemes.indexOf(url.scheme) != -1) {
pipeline.send(properties);
}
+ else if (properties["isMediaURLOverride"]) {
+ delete properties["isMediaURLOverride"];
+ pipeline.send(properties);
+ }
}
},
-
+
/*
+ * Wrzuta
+ * Rewrite Wrzuta.pl urls.
+ */
+ Wrzuta: function ScraperStep_Wrzuta(scraper, node, pipeline) {
+ var properties;
+ while((properties = yield properties)) {
+ var cu = properties[SBProperties.contentURL];
+ if (cu.indexOf("wrzuta.pl") != -1
+ && cu.indexOf("/audio/") != -1) {
+ properties[SBProperties.contentURL] = cu.replace("/audio/", "/aud/file/");
+ properties["isMediaURLOverride"] = true;
+ }
+ pipeline.send(properties);
+ }
+ },
+
+ /*
* Hacks_DropBadUrls
* A step used to store hacks which work around common false positives.
*/
Photo of styrcoo

styrcoo

  • 1 Post
  • 0 Reply Likes
ooh thx
Photo of david_bcn_82D

david_bcn_82

  • 1 Post
  • 0 Reply Likes
DOES NOT WORK!!!!!!!
Photo of

  • 3 Posts
  • 0 Reply Likes
Is new alghoritm to download files from wrzuta:
Example URL is: http://siwyzz.wrzuta.pl/audio/2oeZilx...
1. cut from this URL: siwyzz, audio, 2oeZilxxuha, tiesto_vs._diplo_-_c_mon - regexp in perl:
$_[0] =~ /http:\/\/(.*)\.wrzuta\.pl\/(audio|film|obraz)\/(.*)\/(.*)/;
my $user = $1;
my $type = $2;
my $hash = $3;
my $name = $4;

2. Get this file: http://siwyzz.wrzuta.pl/xml/plik/2oeZ... - in perl: "http://".$user.".wrzuta.pl/xml/plik/"..."
3. Cut from this file URL from field and cut file name from field:
4. Download URL to file name ;)
Photo of

  • 3 Posts
  • 0 Reply Likes
Cut from this file URL from field "fileId" and cut file name from field: "filename"
Photo of elfeczkaE

elfeczka

  • 1 Post
  • 1 Reply Like
Ok guys, let me put this easier.

Given the URL to stream:
http://siwyzz.wrzuta.pl/audio/2oeZilxxuha/tiesto_vs._diplo_-_c_mon

Transform it into the following URL:
http://siwyzz.wrzuta.pl/xml/plik/2oeZilxxuha/wrzuta.pl/undefined/1

When you open it in your browser, you're see an XML file listing. In this file, look for the following fragment:

<fileId>
http://c.wrzuta.pl/wa8615/7f409345002...
<fileId/>


Copy the url between "fieldId" tags and enjoy your download :)
Photo of e r i k a ❀ER

e r i k a ❀

  • 1 Post
  • 0 Reply Likes
you fucking rock! thanks

This conversation is no longer open for comments or replies.