| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function scrape($link) |
||
| 29 | { |
||
| 30 | $this->prepare((string) $link); |
||
| 31 | |||
| 32 | $this->remove((array) $this->removables); |
||
| 33 | |||
| 34 | $title = $this->title('#sports_title'); |
||
| 35 | |||
| 36 | $body = $this->body('#sports_article_writeup'); |
||
| 37 | |||
| 38 | $html = $this->html($body); |
||
| 39 | |||
| 40 | return new Article($title, $html, $link); |
||
| 41 | } |
||
| 43 |