Bit Che > Scripts & Development
Pirate Party Proxy's
Bovski:
Woot seems like I'm going to be needing the mirrors.
http://torrentfreak.com/bpi-asks-uk-isps-to-block-more-major-torrent-sites-121023/
Bovski:
You didn't mention there was a limit to the number of mirrors this code
--- Code: ---[home]
1=http://thepiratebay.se
2=http://tpb.piraten.lu
3=https://tpb.partidopirata.com.ar
4=http://thepiratebay.se.proxy.piratenpartij.nl
5=https://tpb.ipredator.se
6=http://www.tpb.netii.net
7=http://labaia.ws
8=https://tpb.pirati.cz
9=http://piratebaysafe.me
10=http://piratebaymirror.me
11=http://www.dieroschtibay.org
12=http://tpb.pirates.ie
13=http://tpb.anonhi.de
14=http://piratebay.h4ck.la
15=http://pirate.wodan-heerst.nl
16=http://tpb.ezvpn.co.uk
17=http://tpb.dorbais.fr
18=http://tpb.zhuk.co.uk
19=http://tpb.noflag.org.uk
20=http://tpb.genyaa.org
21=http://piratebayunblocked.co
22=http://tpb.swedendedicated.com
23=http://tpb.dbpotato.net
24=http://29a.comuf.com/x
25=http://theponybay.org
26=http://hydra.beesybe.es
27=http://tweax.nl
28=http://tpb.occupyuk.co.uk
29=http://tpb.k0nsl.org
30=http://tpb.ninja.so
--- End code ---
just makes the menu item disapear
chip!:
--- Quote from: Bovski on December 27, 2012, 06:53:45 am ---You didn't mention there was a limit to the number of mirrors this code
just makes the menu item disapear
--- End quote ---
your right, looks like i hard coded to stop looking at 10 mirrors. instead of making it load unlimited mirrors for the menu, i've increased this limit to 100.. but if it reaches the limit, it will not hide the menu (as it does currently).
Bovski:
--- Quote from: chip! on December 28, 2012, 02:28:37 am ---
--- Quote from: Bovski on December 27, 2012, 06:53:45 am ---You didn't mention there was a limit to the number of mirrors this code
just makes the menu item disapear
--- End quote ---
your right, looks like i hard coded to stop looking at 10 mirrors. instead of making it load unlimited mirrors for the menu, i've increased this limit to 100.. but if it reaches the limit, it will not hide the menu (as it does currently).
--- End quote ---
LOL 100 should be enough. now all we need is bitche to update like the scripts I didn't like github to start with but if there is a problem its just so easy to fix a script and get it out.
There does seem to be a problem with bitche and unicode from github had that French script was working until I uploaded it to Git and it stopped working even though it looked fine on git it was messed up in the debugger.
The affected line
--- Code: ---x=findh(x,@data,`Résultats de Recherche`,`</thead>`,`<tbody`,`>`,``)
--- End code ---
was easy to fix but just letting you know.
chip!:
--- Quote from: Bovski on December 28, 2012, 10:36:01 am ---There does seem to be a problem with bitche and unicode from github had that French script was working until I uploaded it to Git and it stopped working even though it looked fine on git it was messed up in the debugger.
The affected line
--- Code: ---x=findh(x,@data,`Résultats de Recherche`,`</thead>`,`<tbody`,`>`,``)
--- End code ---
was easy to fix but just letting you know.
--- End quote ---
probably something we would have to keep our eye on with Github uploads because it appears the problem was that the file is converted to "UTF-8" when uploaded to github. on your computer it must have been saved as "Unicode" file format because Bit Che can read both "ANSI" and "Unicode" file formats.. but apparently it cant read those saved with "UTF-8".. and doing a couple quick google searches, looks like there's no immediate simple solution for me..
so, i dont know if this is a problem with Github in general or only when using the new 'create file' feature (i suspect its only a problem using that new feature).
here's your original file that works with the character. just to see if it was working, i modified it to not need a pwd so i could search without logging in.
note: open any .ini file and go to File | Save As.. and on that dialog is where you get you pick and choose how the file is saved. by default, its "ANSI" unless you are saving other characters, then it defaults to "Unicode".
Navigation
[0] Message Index
[*] Previous page
Go to full version