Skip to content

Commit

Permalink
Merge pull request #74 from eternal-flame-AD/70fix
Browse files Browse the repository at this point in the history
作品页不再过滤动图
  • Loading branch information
_eternal_flame authored Jul 9, 2018
2 parents 3f3be98 + f9024ca commit 84e2d95
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/class/PxerApp.3.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class PxerApp extends PxerEvent{
retry:3,
thread:8,
};
this.ppConfig =PxerPrinter.defaultConfig();//PxerPrinter
this.ppConfig =this.pageType.startsWith("works_")? PxerPrinter.printAllConfig() : PxerPrinter.defaultConfig();//PxerPrinter
this.pfConfig =PxerFilter.defaultConfig();//PxerFilter

// 使用的PxerThreadManager实例
Expand Down
11 changes: 11 additions & 0 deletions src/app/class/PxerPrinter.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,17 @@ PxerPrinter.defaultConfig =function(){
"ugoira_frames" :"no",//[yes|no]
};
};
/**作品页跳过过滤 */
PxerPrinter.printAllConfig =function(){
return{
"manga_single" :"max",//[max|600p|no]
"manga_multiple" :"max",//[max|1200p|cover_600p|no]
"illust_single" :"max",//[max|600p|no]
"illust_multiple" :"max",//[max|1200p|cover_600p|no]
"ugoira_zip" :"max",//[max|600p|no]
"ugoira_frames" :"yes",//[yes|no]
};
}



Expand Down

0 comments on commit 84e2d95

Please sign in to comment.