예제 #1
0
파일: BuzzFeed.php 프로젝트: phuongitvn/vdh
 public function __construct($config)
 {
     $config = array('title_pattern' => '.articleHead h1', 'content_pattern' => 'article-main-body', 'remove_pattern' => 'figcaption', 'imgavatar_pattern' => '.imageContainer');
     parent::__construct($config);
 }
예제 #2
0
 public function __construct($config)
 {
     $config = array('title_pattern' => '.baiviet-title', 'content_pattern' => '.text-conent', 'remove_pattern' => '.fb_iframe_widget|script|iframe', 'imgavatar_pattern' => '.news-image');
     parent::__construct($config);
 }
예제 #3
0
 public function __construct($config)
 {
     $config = array('title_pattern' => '.art_title h3', 'content_pattern' => '.art_content', 'remove_pattern' => '.art_center_banner', 'imgavatar_pattern' => '.art_content img');
     parent::__construct($config);
 }
예제 #4
0
 public function __construct($config)
 {
     $config = array('title_pattern' => '#main-content .post-inner h1', 'content_pattern' => '#main-content .post-inner .entry', 'remove_pattern' => '.widget-top|.widget-container|.post-source|.text-html-box|.letsop-ads-mobile|#disqus_thread|script', 'imgavatar_pattern' => '.art_content img');
     parent::__construct($config);
 }
예제 #5
0
파일: Theverge.php 프로젝트: phuongitvn/vdh
 public function __construct($config)
 {
     $config = array('title_pattern' => 'h1 .instapaper_title', 'content_pattern' => '.m-article__entry-section', 'remove_pattern' => '.m-article__share-buttons|.video-wrap|.m-article__sources', 'imgavatar_pattern' => '.news-image');
     parent::__construct($config);
 }