Skip to content

Commit

Permalink
Fix parser IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker committed Nov 20, 2023
1 parent 1018489 commit a3fd4a7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
5 changes: 0 additions & 5 deletions archive_query_log/parsers/url_offset.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ def add_url_offset_parser(
provider_id,
url_pattern_regex if url_pattern_regex is not None else "",
str(priority) if priority is not None else "",
parser_type,
parameter if parameter is not None else "",
str(segment) if segment is not None else "",
remove_pattern_regex if remove_pattern_regex is not None else "",
space_pattern_regex if space_pattern_regex is not None else "",
)
parser_id = str(uuid5(
NAMESPACE_URL_OFFSET_PARSER,
Expand Down
5 changes: 0 additions & 5 deletions archive_query_log/parsers/url_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ def add_url_page_parser(
provider_id,
url_pattern_regex if url_pattern_regex is not None else "",
str(priority) if priority is not None else "",
parser_type,
parameter if parameter is not None else "",
str(segment) if segment is not None else "",
remove_pattern_regex if remove_pattern_regex is not None else "",
space_pattern_regex if space_pattern_regex is not None else "",
)
parser_id = str(uuid5(
NAMESPACE_URL_PAGE_PARSER,
Expand Down
5 changes: 0 additions & 5 deletions archive_query_log/parsers/url_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ def add_url_query_parser(
provider_id,
url_pattern_regex if url_pattern_regex is not None else "",
str(priority) if priority is not None else "",
parser_type,
parameter if parameter is not None else "",
str(segment) if segment is not None else "",
remove_pattern_regex if remove_pattern_regex is not None else "",
space_pattern_regex if space_pattern_regex is not None else "",
)
parser_id = str(uuid5(
NAMESPACE_URL_QUERY_PARSER,
Expand Down
4 changes: 0 additions & 4 deletions archive_query_log/parsers/warc_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ def add_warc_query_parser(
provider_id,
url_pattern_regex if url_pattern_regex is not None else "",
str(priority) if priority is not None else "",
parser_type,
xpath if xpath is not None else "",
remove_pattern_regex if remove_pattern_regex is not None else "",
space_pattern_regex if space_pattern_regex is not None else "",
)
parser_id = str(uuid5(
NAMESPACE_WARC_QUERY_PARSER,
Expand Down

0 comments on commit a3fd4a7

Please sign in to comment.