Closed g4ze closed 6 days ago
@mlodic This works absolutely fine for domains. The problem lies with the generics. They only respond in HTML as far as I have tried. The library that you have put in the issue doesn't seem to have any options or functionality for generics.
could you provide some examples of queries performed/answers retrieved? the library was just a suggestion, we can avoid that so we can have one less dependency to manage as well
As you can see, i haven't used the library itself.
curl -H "accept: application/json" https://crt.sh/?q=2381082454
<BR><BR>Unsupported output type: json</BODY>
</HTML>
curl https://crt.sh/?q=238108245s4
<return html page>
yeah I tried too and yes, the service does not work for other types. So let's support just domains. Could you please avoid using that library and write the query with requests? That's so simple that we don't need to add a dependency
closes #1321
Description
Please include a summary of the change and link to the related issue.
Type of change
Please delete options that are not relevant.
Checklist
develop
dumpplugin
command and added it in the project as a data migration. ("How to share a plugin with the community")test_files.zip
and you added the default tests for that mimetype in test_classes.py.FREE_TO_USE_ANALYZERS
playbook by following this guide.url
that contains this information. This is required for Health Checks._monkeypatch()
was used in its class to apply the necessary decorators.MockUpResponse
of the_monkeypatch()
method. This serves us to provide a valid sample for testing.Black
,Flake
,Isort
) gave 0 errors. If you have correctly installed pre-commit, it does these checks and adjustments on your behalf.tests
folder). All the tests (new and old ones) gave 0 errors.DeepSource
,Django Doctors
or other third-party linters have triggered any alerts during the CI checks, I have solved those alerts.Important Rules