Skip to content

Commit

Permalink
Merge pull request #147 from dythebs/master
Browse files Browse the repository at this point in the history
Update lib.php
  • Loading branch information
You2php authored May 9, 2018
2 parents b16bf1e + 7fb8082 commit 3b7b2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function get_related_channel($id){

//采集抓取随机推荐内容
function random_recommend(){
$dat=get_data('https://www.youtube.com/?gl=TW&hl=zh-CN');
$dat=get_data('https://www.youtube.com/?gl='.constant("GJ_CODE").'&hl=zh-CN');
$rules = array(
't' => array('#feed .individual-feed .section-list li .item-section li .feed-item-container .feed-item-dismissable .shelf-title-table .shelf-title-row h2 .branded-page-module-title-text','text'),
'html' => array('#feed .individual-feed .section-list li .item-section li .feed-item-container .feed-item-dismissable .compact-shelf .yt-viewport .yt-uix-shelfslider-list','html'),
Expand Down

0 comments on commit 3b7b2a2

Please sign in to comment.