Last active
December 3, 2017 15:23
-
-
Save cactushydrocodone/9b4a1e2a068640e605129e82f6965f65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I just wanted a simple way to extract all urls from a season from a series on bs.to so i wrote one. | |
# everyone could do this, but i share it, because im a cool retard. | |
# You have to go in your browser on the following url: "https://bs.to/serie/SERIESNAME/SEASONNUMER" as an example, https://bs.to/serie/Danny-Phantom/1 | |
$('.episodes').children().children().each (function () { | |
var url = $(this).children("td").children("a").attr('href'); | |
console.log("https://bs.to/" + url + "/OpenLoad"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment