Advertisement
Guest User

2chproxy-bbspink-v7.diff

a guest
Jan 29th, 2018
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.88 KB | None | 0 0
  1. --- 2chproxy.pl.org 2018-01-30 11:26:34.390417591 +0900
  2. +++ 2chproxy.pl 2018-01-30 11:33:27.471593755 +0900
  3. @@ -420,10 +420,7 @@
  4.      $title  = $1;
  5.      chomp($title);
  6.      my $post_reg;
  7. -    if ($html =~ m|<base\shref="(https?:)?//[^.]+\.bbspink\.com|) {
  8. -      $post_reg = $PROXY_CONFIG->{RESPONSE_REGEX3};
  9. -    }
  10. -    elsif ($html =~ m|</h1><div class="pagestats"|) { # for read.cgi 7.0
  11. +    if ($html =~ m|</h1><div class="pagestats"|) { # for read.cgi 7.0
  12.        $post_reg = $PROXY_CONFIG->{RESPONSE_REGEX4};
  13.      }
  14.      else {
  15. @@ -443,6 +440,7 @@
  16.        $content    =~ s|$res_del_a|$1|g;
  17.        $content    =~ s|$res_del_img|sssp://$1|g;
  18.        $date_se_id =~ s|</span><span[^>]*>| |g;
  19. +      $name_hash  =~ s|</span><span[^>]*>| |g;
  20.        if ($PROXY_CONFIG->{ENABLE_REPLACE_IMAGE_TO_LINK}) {
  21.          $content =~ s|$res_replace_oekaki2link|[お絵かき] $1|g;
  22.        }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement