Skip to content

Commit

Permalink
add interlock resolves #121
Browse files Browse the repository at this point in the history
  • Loading branch information
joshhighet committed Oct 25, 2024
1 parent 616bc8a commit 68048dc
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 1 deletion.
20 changes: 20 additions & 0 deletions groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -6903,5 +6903,25 @@
}
],
"profile": []
},
{
"name": "interlock",
"captcha": false,
"parser": true,
"javascript_render": false,
"meta": null,
"locations": [
{
"fqdn": "ebhmkoohccl45qesdbvrjqtyro2hmhkmh6vkyfyjjzfllm3ix72aqaid.onion",
"title": null,
"version": 3,
"slug": "http://ebhmkoohccl45qesdbvrjqtyro2hmhkmh6vkyfyjjzfllm3ix72aqaid.onion",
"available": false,
"updated": null,
"lastscrape": "2021-05-01 00:00:00.000000",
"enabled": true
}
],
"profile": []
}
]
13 changes: 12 additions & 1 deletion parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1713,4 +1713,15 @@ def sarcoma():
if len(posts) == 1:
errlog('sarcoma: ' + 'parsing fail')
for post in posts:
appender(post, 'sarcoma')
appender(post, 'sarcoma')

def interlock():
stdlog('parser: ' + 'interlock')
parser = '''
grep '<div class="advert_info_title">' source/interlock-*.html | cut -d '>' -f 2 | cut -d '<' -f 1 || true
'''
posts = runshellcmd(parser)
if len(posts) == 1:
errlog('interlock: ' + 'parsing fail')
for post in posts:
appender(post, 'interlock')
20 changes: 20 additions & 0 deletions posts.json
Original file line number Diff line number Diff line change
Expand Up @@ -68138,5 +68138,25 @@
"post_title": "Perfection Fresh",
"group_name": "sarcoma",
"discovered": "2024-10-25 17:55:33.156647"
},
{
"post_title": "Cathexis Holdings LP",
"group_name": "interlock",
"discovered": "2024-10-25 18:01:50.346802"
},
{
"post_title": "Wayne County",
"group_name": "interlock",
"discovered": "2024-10-25 18:01:50.390118"
},
{
"post_title": "Smeg",
"group_name": "interlock",
"discovered": "2024-10-25 18:01:50.434019"
},
{
"post_title": "Drug and Alcohol Treatment Service",
"group_name": "interlock",
"discovered": "2024-10-25 18:01:50.476193"
}
]
1 change: 1 addition & 0 deletions ransomwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,5 @@ def appender(name, location):
parsers.orca()
parsers.nitrogen()
parsers.sarcoma()
parsers.interlock()
stdlog('ransomwatch: ' + 'parse run complete')
Empty file.

0 comments on commit 68048dc

Please sign in to comment.