Skip to content

Commit

Permalink
ck101.js: 去掉預設的廣告圖片 "超過一百分・卡提諾不意外"
Browse files Browse the repository at this point in the history
  • Loading branch information
kanasimi committed Feb 25, 2018
1 parent f873c93 commit c650f54
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arrangement/classify_and_compress.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ catalog_directory = {
// 一般コミック
comic : [ 'comic,一般コミック,画集', 'c' ],
comic_sub : {
shojo_manga : '_少女コミック',
shojo_manga : '_Sho-comi,少女コミック,一般コミック・少女,百合姫',
artbook : '_イラスト,画集,Visual Book,Art Work,Artbook',
CG_no_title : '_イラスト,画集,Visual Book,Art Work,Artbook/_no title',
comic_magazine : '_雑誌'
Expand Down
8 changes: 8 additions & 0 deletions novel.cmn-Hans-CN/ck101.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,15 @@ crawler = new CeL.work_crawler({
}
work_data.status = work_data.status.append(tags).unique();

// 去掉預設的廣告圖片 "超過一百分・卡提諾不意外"
if (work_data.image && work_data.image.includes('ZMZHjmd')) {
// <meta property="og:image" itemprop="image"
// content="https://s1.imgs.cc/img/ZMZHjmd.jpg"/>
delete work_data.image;
}

// console.log(work_data);
// console.log(JSON.stringify(work_data));
return work_data;
},

Expand Down

0 comments on commit c650f54

Please sign in to comment.