Skip to content

Commit 68048dc

Browse files
committed
add interlock resolves #121
1 parent 616bc8a commit 68048dc

5 files changed

+53
-1
lines changed

groups.json

+20
Original file line numberDiff line numberDiff line change
@@ -6903,5 +6903,25 @@
69036903
}
69046904
],
69056905
"profile": []
6906+
},
6907+
{
6908+
"name": "interlock",
6909+
"captcha": false,
6910+
"parser": true,
6911+
"javascript_render": false,
6912+
"meta": null,
6913+
"locations": [
6914+
{
6915+
"fqdn": "ebhmkoohccl45qesdbvrjqtyro2hmhkmh6vkyfyjjzfllm3ix72aqaid.onion",
6916+
"title": null,
6917+
"version": 3,
6918+
"slug": "http://ebhmkoohccl45qesdbvrjqtyro2hmhkmh6vkyfyjjzfllm3ix72aqaid.onion",
6919+
"available": false,
6920+
"updated": null,
6921+
"lastscrape": "2021-05-01 00:00:00.000000",
6922+
"enabled": true
6923+
}
6924+
],
6925+
"profile": []
69066926
}
69076927
]

parsers.py

+12-1
Original file line numberDiff line numberDiff line change
@@ -1713,4 +1713,15 @@ def sarcoma():
17131713
if len(posts) == 1:
17141714
errlog('sarcoma: ' + 'parsing fail')
17151715
for post in posts:
1716-
appender(post, 'sarcoma')
1716+
appender(post, 'sarcoma')
1717+
1718+
def interlock():
1719+
stdlog('parser: ' + 'interlock')
1720+
parser = '''
1721+
grep '<div class="advert_info_title">' source/interlock-*.html | cut -d '>' -f 2 | cut -d '<' -f 1 || true
1722+
'''
1723+
posts = runshellcmd(parser)
1724+
if len(posts) == 1:
1725+
errlog('interlock: ' + 'parsing fail')
1726+
for post in posts:
1727+
appender(post, 'interlock')

posts.json

+20
Original file line numberDiff line numberDiff line change
@@ -68138,5 +68138,25 @@
6813868138
"post_title": "Perfection Fresh",
6813968139
"group_name": "sarcoma",
6814068140
"discovered": "2024-10-25 17:55:33.156647"
68141+
},
68142+
{
68143+
"post_title": "Cathexis Holdings LP",
68144+
"group_name": "interlock",
68145+
"discovered": "2024-10-25 18:01:50.346802"
68146+
},
68147+
{
68148+
"post_title": "Wayne County",
68149+
"group_name": "interlock",
68150+
"discovered": "2024-10-25 18:01:50.390118"
68151+
},
68152+
{
68153+
"post_title": "Smeg",
68154+
"group_name": "interlock",
68155+
"discovered": "2024-10-25 18:01:50.434019"
68156+
},
68157+
{
68158+
"post_title": "Drug and Alcohol Treatment Service",
68159+
"group_name": "interlock",
68160+
"discovered": "2024-10-25 18:01:50.476193"
6814168161
}
6814268162
]

ransomwatch.py

+1
Original file line numberDiff line numberDiff line change
@@ -329,4 +329,5 @@ def appender(name, location):
329329
parsers.orca()
330330
parsers.nitrogen()
331331
parsers.sarcoma()
332+
parsers.interlock()
332333
stdlog('ransomwatch: ' + 'parse run complete')

source/interlock-ebhmkoohccl45qesdbvrjqtyro2hmhkmh6vkyfyjjzfllm3ix72aqaid.html

Whitespace-only changes.

0 commit comments

Comments
 (0)