Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!


пенсионерка, ветеран труда
соседка хотела [...] «50 оттенков серого»
очень хорошая женщина
. Версия Сool Reader 3.1.2-39. Скриншот оригинального размера: уменьшен, что б не порвать комментарии/opds/search?searchType=authors&searchTerm=Донцова
Отдает <title>Донцова Дарья</title>
<content type="text">204 книги</content>
<link href="/opds/author/2623" type="application/atom+xml;profile=opds-catalog" />
<link href="/sites/default/files/doncova.jpg" rel="http://opds-spec.org/image" type="image/jpeg" />
<link href="/sites/default/files/doncova.jpg" rel="x-stanza-cover-image" type="image/jpeg" />
<link href="/sites/default/files/doncova.jpg" rel="http://opds-spec.org/image/thumbnail" type="image/jpeg" />
<link href="/sites/default/files/doncova.jpg" rel="x-stanza-cover-image-thumbnail" type="image/jpeg" />
<link href="/opds/authorsequences/2623" rel="http://www.feedbooks.com/opds/facet" type="application/atom+xml;profile=opds-catalog" title="Книги автора по сериям" />
<link href="/opds/authorsequenceless/2623" rel="http://www.feedbooks.com/opds/facet" type="application/atom+xml;profile=opds-catalog" title="Книги автора вне серий" />
</entry>
Listen *:8085
<VirtualHost *:8085>
ServerAdmin webmaster@my.domain.ru
ServerName my.domain.ru
DirectoryIndex /nph-flibusta.pl
<Location /nph-flibusta.pl>
SetHandler cgi-script
</Location>
DocumentRoot /home/user/flibusta/
<Directory /home/user/flibusta/ >
AllowOverride None
Options -Indexes +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
RewriteEngine On
# RewriteCond %{HTTP_HOST} =proxy.flibusta.net
RewriteRule ^(.*)$ /nph-flibusta.pl?url=$1 [H=cgi-script,QSA,L]
LogLevel warn
CustomLog /var/log/apache2/flibusta-access.log combined
ErrorLog /var/log/apache2/flibusta-error.log
</VirtualHost>
--- nph-flibusta.pl.orig 2014-10-14 13:58:42.610908292 +0400
+++ nph-flibusta.pl.new 2014-10-14 16:34:52.395385027 +0400
@@ -7,13 +7,13 @@
use CGI qw(:standard -nph);
my $q = new CGI;
-my $ua = LWP::UserAgent->new(max_redirect => 0, agent => $q->user_agent(),);
+my $ua = LWP::UserAgent->new(max_redirect => 3, agent => $q->user_agent(),);
$ua->timeout(60);
$ua->proxy([qw/ http https /] => 'socks://127.0.0.1:9050'); # Tor proxy
my $refer = $q->referer();
$refer = "" unless defined($refer);
-$refer =~ s/proxy\.flibusta\.net/flibustahezeous3.onion/g;
+$refer =~ s/my\.domain\.ru:8085/flibustahezeous3.onion/g;
#handle extra parameters
my $ep ="";
Свободная литература или сказ про дружбу CoolReader c Tor