Jump to content

Primary: Sky Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Secondary: Sky Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Squares Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Photo

Anime Tools

Anime Tools Batch TokyoTosho Download

  • Please log in to reply
5 replies to this topic

#1
nevernown

nevernown

    Fried Potato

  • Members
  • 575 posts
  • Location-1x378DE022

Hey guys,

 

Horn and I had a little chat about stuff and things. Basically, it's a drag to click all the links on a torrent page. Here's two pieces of code that will make it more convenient:

 

Tokyo Toshokan (www.tokyotosho.info) link. Magnets ALL torrents on the result page.

javascript:(function(){var nodes = document.querySelectorAll(".sprite_magnet"); var i = 0; var timer = window.setInterval(function(){window.location.assign(nodes[i].parentNode.getAttribute("href")); i++; if(!(i < nodes.length)){window.clearInterval(timer)}}, 1000)})()

Nyaa link (www.nyaa.se) link. Downloads all torrents on the result page.

javascript:(function(){var nodes = document.querySelectorAll(".tlistdownload a"); var i = 0; var timer = window.setInterval(function(){window.location.assign(nodes[i].getAttribute("href")); i++; if(!(i < nodes.length)){window.clearInterval(timer)}}, 1000)})()

How to use these links:

- Make a new bookmark, and add this code in the "location" field of the bookmark. Save it.

- Then click it when you have the right website's result page opened.

- It will "click" all present magnet links for you.

 

The links are activated at about 1 per second, so that in most cases server lag will not be an issue.

 

I'll be adding one more bookmark tool later, but that one will take more work.

NOTE: These are tested in Firefox, I cannot guarantee that they work in other browsers.

 

Greetings,

 

Nevy

 

 

I really do hope I'm allowed to post code like this. Been a while since I read the forum rules...?


Edited by nevernown, 27 June 2015 - 09:26 PM.

Professional Titles, granted by forum-members: Hobbit, Wordsmith, Weirdo, Creep, Reachable Height, DJ, Bishie, Beautiful Poet, Professor, Dutchie-Boy, Writer, Pervy-Sage, Cookie, "Teia: Oh gosh", Geeky boy, Traitor, Stalker (more to be expected)
 
gkq0.png
 
Creativity
- Thoughts
- SoundCloud

#2
Yan Q

Yan Q

    Fried Potato

  • Members
  • 890 posts
  • Locationwith your lover
You lost me at torrent in the first paragraph.
What's a torrent, anf how'd you put the code in?

yes, i bite

fp | ig


#3
Lalbutt

Lalbutt

    Baked Potato

  • Members
  • 1,365 posts
  • LocationMoving Castle

What Yan said : D

 

Also, what would I do with all these torrents? : D



#4
Flowero

Flowero

    Potato Sprout

  • Members
  • 9 posts

----

 

Dont download series myself but this should be useful for those who do!

 

I think I completely ignored the second half of your post (saw the bookmarks), and then read the replies. Think I wrote just about the same as your instructions xD


Edited by Flowero, 28 June 2015 - 01:14 PM.


#5
nevernown

nevernown

    Fried Potato

  • Members
  • 575 posts
  • Location-1x378DE022

@Yan & Lal

 

I dunno, they're like these things that you do download stuff with, right? So you stuff it in a thing and then download happens.

... I honestly have no clue how to explain torrents, other than saying they're a form of downloading, and there's a lot of anime offered in torrent format :3

 

@Flowero

I... what?


Professional Titles, granted by forum-members: Hobbit, Wordsmith, Weirdo, Creep, Reachable Height, DJ, Bishie, Beautiful Poet, Professor, Dutchie-Boy, Writer, Pervy-Sage, Cookie, "Teia: Oh gosh", Geeky boy, Traitor, Stalker (more to be expected)
 
gkq0.png
 
Creativity
- Thoughts
- SoundCloud

#6
Flowero

Flowero

    Potato Sprout

  • Members
  • 9 posts

@Yan & Lal

 

I dunno, they're like these things that you do download stuff with, right? So you stuff it in a thing and then download happens.

... I honestly have no clue how to explain torrents, other than saying they're a form of downloading, and there's a lot of anime offered in torrent format :3

 

@Flowero

I... what?

Dont mind that at all!