| 1 | <?php declare(strict_types=1); defined('BASEPATH') OR exit('No direct script access allowed'); |
||
| 4 | class RavensScans extends Base_FoolSlide_Site_Model { |
||
| 5 | public $baseURL = 'http://ravens-scans.com'; |
||
| 6 | |||
| 7 | public function getFullTitleURL(string $title_url) : string { |
||
| 8 | return "{$this->baseURL}/multi/comic/{$title_url}"; |
||
| 9 | } |
||
| 10 | |||
| 11 | public function getJSONTitleURL(string $title_url) : string { |
||
| 12 | return "{$this->baseURL}/lector/api/v1/comic?stub={$title_url}"; |
||
| 13 | } |
||
| 14 | public function getJSONUpdateURL() : string { |
||
| 15 | return "{$this->baseURL}/lector/api/reader/chapters/orderby/desc_created/format/json"; |
||
| 16 | } |
||
| 17 | } |
||
| 18 |