├── README.md └── api.php /README.md: -------------------------------------------------------------------------------- 1 | # SAMEHADAKU.NET-GRABBER-API 2 | SAMEHADAKU GRABBER API 3 | -------------------------------------------------------------------------------- /api.php: -------------------------------------------------------------------------------- 1 | (.*?)<\/article>/',$fa,$a); 24 | 25 | foreach($a[1] as $ar){ 26 | 27 | preg_match('/class="mh-excerpt-more" href="https:\/\/www.samehadaku.net\/(.*?).html" title="(.*?)"/',$ar,$l); 28 | 29 | preg_match('/(.*?)<\/strong>/',$f,$ti); // title 47 | 48 | preg_match('/rilis tanggal (.*?).<\/p>/',$f,$re); //release 49 | 50 | preg_match('/Sinopsis (.*?)<\/span>/',$f,$si); //sinopsis 51 | 52 | preg_match('/Genres: (.*?)<\/span>/',$f,$gr); //genre 53 | 54 | preg_match('/Penerjemah: (.*?)<\/span>/',$f,$tr); // translator 55 | 56 | preg_match('/Encoder: (.*?)<\/span>/',$f,$en); //encoder 57 | 58 | preg_match('/Uploader: (.*?)<\/span>/',$f,$up); //uploader 59 | 60 | 61 | preg_match('/
(.*?)<\/div>/',$f,$ep); 62 | 63 | preg_match_all('/
  • (.*?)<\/li>/',$ep[1],$l); 64 | 65 | foreach($l[1] as $link){ 66 | preg_match('/(.*?)<\/strong>/',$link,$q); //Quality 67 | preg_match_all('/href="(.*?)"/',$link,$lin); 68 | 69 | 70 | 71 | $l1 = curl($lin[1][0]); 72 | preg_match('/