Trying to swicth to new IRCScraper

This commit is contained in:
Darko
2014-05-06 15:09:59 +02:00
parent b945b1bcc9
commit 54de7a8ea4
5 changed files with 971 additions and 813 deletions
+40 -30
View File
@@ -3,33 +3,43 @@
// MAKE SURE THIS IS UNIQUE, IF SOMEONE HAS THE USERNAME ALREADY YOU WILL GET A BUNCH OF ERRORS, YOU HAVE BEEN WARNED.
$username = '';
// EFNET server details.
define('SCRAPE_IRC_EFNET_SERVER', 'irc.Prison.NET'); // Efnet server address, change if you have issues connecting.
define('SCRAPE_IRC_EFNET_PORT', '6667'); // Port for efnet server.
define('SCRAPE_IRC_EFNET_NICKNAME', "$username"); // Nick name (this is the nickname everyone sees in the channel)
define('SCRAPE_IRC_EFNET_REALNAME', "$username"); // This is a name that people see in /whois, you can set this to your nickname.
define('SCRAPE_IRC_EFNET_USERNAME', "$username"); // This is part of your hostname, you can set this the same as nickname. This is also used to log in to ZNC.
define('SCRAPE_IRC_EFNET_PASSWORD', false); // This is used for bouncers like ZNC, set this false or '' if you don't have a bouncer.
define('SCRAPE_IRC_EFNET_ENCRYPTION', false); // Set to true to use TLS encryption (make sure you change the port to a SSL one).
// List of ignored channels, separated by commas. ie '#alt.binaries.teevee,#alt.binaries.moovee' for a single channel : '#alt.binaries.teevee'
define('SCRAPE_IRC_EFNET_IGNORED_CHANNELS', '');
define('SCRAPE_IRC_C_Z_BOOL', false); // True uses Corrupt, False uses Zenet. (they both PRE the same stuff). If you have trouble with one, use the other.
// Corrupt-Net server details.
define('SCRAPE_IRC_CORRUPT_SERVER', 'irc.corrupt-net.org'); // This should not be changed, since this is the only address to corrupt.
define('SCRAPE_IRC_CORRUPT_PORT', '6667');
define('SCRAPE_IRC_CORRUPT_NICKNAME', "$username");
define('SCRAPE_IRC_CORRUPT_REALNAME', "$username");
define('SCRAPE_IRC_CORRUPT_USERNAME', "$username");
define('SCRAPE_IRC_CORRUPT_PASSWORD', false);
define('SCRAPE_IRC_CORRUPT_ENCRYPTION', false);
// Zenet server details.
define('SCRAPE_IRC_ZENET_SERVER', 'irc.zenet.org');
define('SCRAPE_IRC_ZENET_PORT', '6667');
define('SCRAPE_IRC_ZENET_NICKNAME', "$username");
define('SCRAPE_IRC_ZENET_REALNAME', "$username");
define('SCRAPE_IRC_ZENET_USERNAME', "$username");
define('SCRAPE_IRC_ZENET_PASSWORD', false);
define('SCRAPE_IRC_ZENET_ENCRYPTION', false);
// https://www.synirc.net/servers Try another server if you have issues.
define('SCRAPE_IRC_SERVER', 'contego.ny.us.synirc.net');
// Use Port 6697 or 7001 and set SCRAPE_IRC_TLS to true for encryption.
define('SCRAPE_IRC_PORT', '6667');
define('SCRAPE_IRC_TLS', false);
define('SCRAPE_IRC_NICKNAME', "$username");
define('SCRAPE_IRC_REALNAME', "$username");
define('SCRAPE_IRC_USERNAME', "$username");
// Set to false if you need no password. Use a string (quoted text) if you need a password.
define('SCRAPE_IRC_PASSWORD', false);
// Regex to ignore categories. Leave empty ('') to not exclude any category.
// Case sensitive example: '/^(XXX|PDA|EBOOK|MP3)$/'
// Case insensitive (note the i): '/^(X264|TV)$/i'
define('SCRAPE_IRC_CATEGORY_IGNORE', '');
// Set to true to ignore a source.
define('SCRAPE_IRC_SOURCE_IGNORE',
serialize(
array(
'#a.b.cd.image' => false,
'#a.b.console.ps3' => false,
'#a.b.dvd' => false,
'#a.b.erotica' => false,
'#a.b.flac' => false,
'#a.b.foreign' => false,
'#a.b.games.nintendods' => false,
'#a.b.inner-sanctum' => false,
'#a.b.moovee' => false,
'#a.b.movies.divx' => false,
'#a.b.sony.psp' => false,
'#a.b.sounds.mp3.complete_cd' => false,
'#a.b.teevee' => false,
'#a.b.games.wii' => false,
'#a.b.warez' => false,
'#a.b.games.xbox360' => false,
'#pre@corrupt' => false,
'#scnzb' => false,
'#tvnzb' => false
)
)
);