Skip to content

Instantly share code, notes, and snippets.

@fangdingjun
Last active October 12, 2016 10:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fangdingjun/12df7d8f5de8aaa9812b34bfb53999bc to your computer and use it in GitHub Desktop.
Save fangdingjun/12df7d8f5de8aaa9812b34bfb53999bc to your computer and use it in GitHub Desktop.
links = [
"magnet:?xt=urn:btih:f4bc1fab97b92cfefd7312010190f7f334593f2b&dn=Gotham.S02E07.720p.HDTV.X264-DIMENSION%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710",
"magnet:?xt=urn:btih:79a2c486675a1b2168dab1d27734955393979799&dn=Gotham.S02E11.720p.HDTV.X264-DIMENSION%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710"
];
links.forEach(function(v,i,a){
$("#_disk_id_2").click();
$("#share-offline-link").value=v;
$('a[data-button-id="b67"]').click();
$('a[data-button-id="ddasdffff"]');
e = $('a[data-button-id="b71"]');
if (e){
e.click();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment