mirror of
https://github.com/C24Be/AS_Network_List.git
synced 2026-03-25 10:59:44 +03:00
RIPE DB
This commit is contained in:
4
.github/workflows/parse_ripe_database.yml
vendored
4
.github/workflows/parse_ripe_database.yml
vendored
@@ -14,7 +14,7 @@ on:
|
||||
|
||||
jobs:
|
||||
get_lists:
|
||||
name: 'Get/Lists'
|
||||
name: 'Parse RIPE DB'
|
||||
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
@@ -34,4 +34,4 @@ jobs:
|
||||
- run: ./parse_ripe_db.py ripe.db.inetnum auto/ripe-ru-ipv4.txt auto/ripe-ru-ipv4.json
|
||||
- uses: ./.github/actions/gitPush
|
||||
env:
|
||||
PUSH_FILES: auto/*txt
|
||||
PUSH_FILES: auto/ripe*
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -18,7 +18,7 @@ def parse(filename, output_text, output_json):
|
||||
if record:
|
||||
record['inetnum'] = convert_to_cidr(record['inetnum'])
|
||||
if record['country'] == country:
|
||||
print(record)
|
||||
# print(record)
|
||||
cList.append(record)
|
||||
record = {}
|
||||
record['inetnum'] = line.split('inetnum:', 1)[1].strip()
|
||||
|
||||
Reference in New Issue
Block a user