Browse Source

Prevent new autofill code from choking on ex

spaghetti 8 years ago
parent
commit
eec7f97e72
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/ajax/doujin.php

+ 1
- 1
sections/ajax/doujin.php View File

@@ -4,7 +4,7 @@ if (empty($_GET['url'])) {
4 4
   json_die();
5 5
 }
6 6
 
7
-$url = $_GET['url'];
7
+$url = str_replace('exhentai','e-hentai',$_GET['url']);
8 8
 
9 9
 $matches = array();
10 10
 preg_match('/^https?:\/\/g?\.?e.hentai\.org\/g\/(\d+)\/([\w\d]+)\/?$/', $url, $matches);

Loading…
Cancel
Save