Merge pull request #1522 from houtarchat-cyber/patch-1

remove additional tags in Phind
This commit is contained in:
H Lohaus 2024-01-28 23:57:56 +01:00 committed by GitHub
commit e496f0c179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ class Phind(AsyncGeneratorProvider):
pass
elif chunk.startswith(b"<PHIND_METADATA>") or chunk.startswith(b"<PHIND_INDICATOR>"):
pass
elif chunk.startswith(b"<PHIND_SPAN_BEGIN>") or chunk.startswith(b"<PHIND_SPAN_END>"):
pass
elif chunk:
yield chunk.decode()
elif new_line: