Upgrade nntmux configuration method

This commit is contained in:
DariusIII
2018-03-03 20:47:49 +01:00
parent e0913786c4
commit d5e7ba4825
76 changed files with 296 additions and 572 deletions
+115
View File
@@ -0,0 +1,115 @@
<?php
$username = '';
return [
/***********************************************************************************************************************
* You can use this to set the NICKNAME=>REALNAME and USERNAME below.
* You can change them manually below if you have to.
* @note THIS MUST NOT BE EMPTY=>THIS MUST ALSO BE UNIQUE OR YOU WILL NOT BE ABLE TO CONNECT TO IRC.
* @note pick a normal name otherwise you will be banned from the pre channel !!!!
**********************************************************************************************************************/
'username' => $username,
/***********************************************************************************************************************
* The IRC server to connect to.
* @note If you have issues connecting=>head to https://www.synirc.net/servers and try another server.
**********************************************************************************************************************/
'scrape_irc_server' => 'irc.synirc.net',
/***********************************************************************************************************************
* This is the port to the IRC server.
* @note If you want use SSL/TLS=>use a corresponding port (6697 or 7001 for example)=>and set SCRAPE_IRC_TLS to true.
**********************************************************************************************************************/
'scrape_irc_port' => '6667',
/***********************************************************************************************************************
* If you want to use SSL/TLS encryption on the IRC server=>set this to true.
* @note Make sure you use a valid SSL/TLS port in SCRAPE_IRC_PORT.
**********************************************************************************************************************/
'scrape_irc_tls' => false,
/***********************************************************************************************************************
* This is the nick name visible in IRC channels.
**********************************************************************************************************************/
'scrape_irc_nickname'=> $username,
/***********************************************************************************************************************
* This is a name that is visible to others when they type /whois nickname.
**********************************************************************************************************************/
'scrape_irc_realname'=> $username,
/***********************************************************************************************************************
* This is used as part of your "ident" when connecting to IRC.
* @note This is also the username for ZNC.
**********************************************************************************************************************/
'scrape_irc_username' => $username,
/***********************************************************************************************************************
* This is not required by synirc=>but if you use ZNC=>this is required.
* @note Put your password between quotes: 'mypassword'
* @note If you are using ZNC and having issues=>try 'username:password' or 'username/network:<password>'
**********************************************************************************************************************/
'scrape_irc_password' => false,
/***********************************************************************************************************************
* This is an optional field you can use for ignoring categories.
* @note If you do not wish to exclude any categories=>leave it a empty string: ''
* @examples Case sensitive: '/^(XXX|PDA|EBOOK|MP3)$/'
* Case insensitive: '/^(X264|TV)$/i'
**********************************************************************************************************************/
'scrape_irc_category_ignore' => '',
/***********************************************************************************************************************
* This is an optional field you can use for ignoring PRE titles.
* @note If you do not wish to exclude any PRE titles=>leave it a empty string: ''
* @examples Case insensitive ignore German or XXX in the title: '/\.(German|XXX)\./i'
* This would ignore titles like:
* Yanks.14.06.30.Bianca.Travelman.Is.A.Nudist.XXX.MP4-FUNKY
* Blancanieves.Ein.Maerchen.von.Schwarz.und.Weiss.2012.German.1080p.BluRay.x264-CONTRiBUTiON
**********************************************************************************************************************/
'scrape_irc_title_ignore' => '',
/***********************************************************************************************************************
* This is a list of all the channels we fetch PRE's from.
**********************************************************************************************************************/
'scrape_irc_channels' =>
serialize(
[
//'#Channel' => 'Password',
'#PreNNTmux' => null,
'#nZEDbPRE' => null,
]
),
/***********************************************************************************************************************
* This is a list of all the sources we fetch PRE's from.
* If you want to ignore a source=>change it from false to true.
**********************************************************************************************************************/
'scrape_irc_source_ignore' =>
serialize(
[
'#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,
'srrdb' => false,
]
),
];