package Ġeu . kan ade . t ach iy omi . extension . all . boom manga Ċ Ċ import Ġeu . kan ade . t ach iy omi . source . Source Ċ import Ġeu . kan ade . t ach iy omi . source . Source Factory Ċ import Ġeu . kan ade . t ach iy omi . source . model . SM anga Ċ import Ġorg . js oup . nodes . Document Ċ import Ġorg . js oup . nodes . Element Ċ Ċ class ĠB oom M anga Factory Ġ: ĠSource Factory Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġcreate Sources (): ĠList < Source > Ġ= ĠlistOf ( ĊĠĠĠĠĠĠĠ ĠB oom M ang ac om (), ĊĠĠĠĠĠĠĠ ĠMan M anga (), ĊĠĠĠĠĠĠĠ ĠTw ins Com ics (), ĊĠĠĠĠĠĠĠ ĠB oom M ang az h (), ĊĠĠĠĠĠĠĠ ĠMan M ang az h (), ĊĠĠĠĠĠĠĠ ĠTw ins Com ics zh () ĊĠĠĠ Ġ) Ċ } Ċ Ċ class ĠB oom M ang ac om Ġ: ĠB oom M anga (" B oom M anga ", Ġ" https :// m . boom manga . com ", Ġ" en ") Ċ Ċ class ĠMan M anga Ġ: ĠB oom M anga (" Man M anga ", Ġ" https :// m . man manga . com ", Ġ" en ") Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġname selector ( element : ĠElement ) Ġ= Ġelement . select (" a "). attr (" alt ") ĊĠĠĠ Ġoverride Ġfun Ġauthor get ( document : ĠDocument ) Ġ= Ġdocument . select (". author "). text (). substring After (" ï¼ļ "). trim () ĊĠĠĠ Ġoverride Ġfun Ġthumbnail get ( document : ĠDocument ) Ġ= Ġdocument . select (". bg - box Ġ. bg "). attr (" style "). substring After ("' "). substring Before ("' ") ĊĠĠĠ Ġoverride Ġfun Ġgenre get ( document : ĠDocument ) Ġ= Ġdocument . select (". tags Ġspan "). join ToString (", Ġ") Ġ{ ĊĠĠĠĠĠĠĠ Ġit . text (). trim () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġstatus get ( document : ĠDocument ) Ġ= Ġwhen Ġ( document . select (". type "). text (). substring After (" ï¼ļ "). trim ()) Ġ{ ĊĠĠĠĠĠĠĠ Ġ" O ngo ing " Ġ-> ĠSM anga . ONGO ING ĊĠĠĠĠĠĠĠ Ġ" Completed " Ġ-> ĠSM anga . COMPLETED ĊĠĠĠĠĠĠĠ Ġelse Ġ-> ĠSM anga . UNKNOWN ĊĠĠĠ Ġ} Ċ } Ċ class ĠTw ins Com ics Ġ: ĠB oom M anga (" Tw ins Com ics ", Ġ" https :// m . tw ins com ics . com ", Ġ" en ") Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġname selector ( element : ĠElement ) Ġ= Ġelement . select (" a "). attr (" alt ") ĊĠĠĠ Ġoverride Ġfun Ġauthor get ( document : ĠDocument ) Ġ= Ġdocument . select (". author "). text (). substring After (" ï¼ļ "). trim () ĊĠĠĠ Ġoverride Ġfun Ġthumbnail get ( document : ĠDocument ) Ġ= Ġdocument . select (". bg - box Ġ. bg "). attr (" style "). substring After ("' "). substring Before ("' ") ĊĠĠĠ Ġoverride Ġfun Ġgenre get ( document : ĠDocument ) Ġ= Ġdocument . select (". tags Ġspan "). join ToString (", Ġ") Ġ{ ĊĠĠĠĠĠĠĠ Ġit . text (). trim () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġstatus get ( document : ĠDocument ) Ġ= Ġwhen Ġ( document . select (". type "). text (). substring After (" ï¼ļ "). trim ()) Ġ{ ĊĠĠĠĠĠĠĠ Ġ" O ngo ing " Ġ-> ĠSM anga . ONGO ING ĊĠĠĠĠĠĠĠ Ġ" Completed " Ġ-> ĠSM anga . COMPLETED ĊĠĠĠĠĠĠĠ Ġelse Ġ-> ĠSM anga . UNKNOWN ĊĠĠĠ Ġ} Ċ } Ċ Ċ class ĠB oom M ang az h Ġ: ĠB oom M anga (" B oom M anga ", Ġ" https :// m . boom manga . com / cn ", Ġ" zh ") Ċ Ċ class ĠMan M ang az h Ġ: ĠB oom M anga (" Man M anga ", Ġ" https :// m . man manga . com / cn ", Ġ" zh ") Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġname selector ( element : ĠElement ) Ġ= Ġelement . select (" a "). attr (" alt ") ĊĠĠĠ Ġoverride Ġfun Ġauthor get ( document : ĠDocument ) Ġ= Ġdocument . select (". author "). text (). substring After (" ï¼ļ "). trim () ĊĠĠĠ Ġoverride Ġfun Ġthumbnail get ( document : ĠDocument ) Ġ= Ġdocument . select (". bg - box Ġ. bg "). attr (" style "). substring After ("' "). substring Before ("' ") ĊĠĠĠ Ġoverride Ġfun Ġgenre get ( document : ĠDocument ) Ġ= Ġdocument . select (". tags Ġspan "). join ToString (", Ġ") Ġ{ ĊĠĠĠĠĠĠĠ Ġit . text (). trim () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġstatus get ( document : ĠDocument ) Ġ= Ġwhen Ġ( document . select (". type "). text (). substring After (" ï¼ļ "). trim ()) Ġ{ ĊĠĠĠĠĠĠĠ Ġ" è¿ŀ è½½ ä¸Ń " Ġ-> ĠSM anga . ONGO ING ĊĠĠĠĠĠĠĠ Ġ// Ġ" Completed " Ġ-> ĠSM anga . COMPLETED ĊĠĠĠĠĠĠĠ Ġelse Ġ-> ĠSM anga . UNKNOWN ĊĠĠĠ Ġ} Ċ } Ċ Ċ class ĠTw ins Com ics zh Ġ: ĠB oom M anga (" Tw ins Com ics ", Ġ" https :// m . tw ins com ics . com / cn ", Ġ" zh ") Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġname selector ( element : ĠElement ) Ġ= Ġelement . select (" a "). attr (" alt ") ĊĠĠĠ Ġoverride Ġfun Ġauthor get ( document : ĠDocument ) Ġ= Ġdocument . select (". author "). text (). substring After (" ï¼ļ "). trim () ĊĠĠĠ Ġoverride Ġfun Ġthumbnail get ( document : ĠDocument ) Ġ= Ġdocument . select (". bg - box Ġ. bg "). attr (" style "). substring After ("' "). substring Before ("' ") ĊĠĠĠ Ġoverride Ġfun Ġgenre get ( document : ĠDocument ) Ġ= Ġdocument . select (". tags Ġspan "). join ToString (", Ġ") Ġ{ ĊĠĠĠĠĠĠĠ Ġit . text (). trim () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġstatus get ( document : ĠDocument ) Ġ= Ġwhen Ġ( document . select (". type "). text (). substring After (" ï¼ļ "). trim ()) Ġ{ ĊĠĠĠĠĠĠĠ Ġ" è¿ŀ è½½ ä¸Ń " Ġ-> ĠSM anga . ONGO ING ĊĠĠĠĠĠĠĠ Ġ// Ġ" Completed " Ġ-> ĠSM anga . COMPLETED ĊĠĠĠĠĠĠĠ Ġelse Ġ-> ĠSM anga . UNKNOWN ĊĠĠĠ Ġ} Ċ } Ċ