File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
src/packages/site/definitions Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,29 @@ export const siteMetadata: ISiteMetadata = {
124124 } ,
125125 } ,
126126 } ,
127+
128+ list : [
129+ {
130+ urlPattern : [ / \/ f o r u m \. p h p \? m o d = t o r r e n t s / ] ,
131+ } ,
132+ ] ,
133+
134+ detail : {
135+ urlPattern : [ / \/ f o r u m \. p h p \? m o d = v i e w t h r e a d / ] ,
136+ selectors : {
137+ title : { selector : [ "span#thread_subject" ] } ,
138+ id : {
139+ selector : [ 'div.pi a[href*="download.php?id="]' ] ,
140+ attr : "href" ,
141+ filters : [ { name : "querystring" , args : [ "id" ] } ] ,
142+ } ,
143+ link : {
144+ selector : [ 'div.pi a[href*="download.php?id="][href*="&passkey="]' , 'div.pi a[href*="download.php?id="]' ] ,
145+ attr : "href" ,
146+ } ,
147+ } ,
148+ } ,
149+
127150 userInfo : {
128151 pickLast : [ "id" , "name" ] ,
129152 process : [
You can’t perform that action at this time.
0 commit comments