Page MenuHomeSoftware Heritage

Implement blocklist support in
Closed, ResolvedPublic


After taking down an origin, we need it to disappear from search results, even if it gets a new visit after the fact (at least, until an administrator can review that the content can re-appear). So we need to implement some sort of sticky blocklist within

Event Timeline

olasd changed the task status from Open to Work in Progress.Apr 8 2021, 4:55 PM
olasd triaged this task as High priority.
olasd created this task.

This has now been deployed and tested in staging with a canary origin ( Time to deploy in production.

And this is now available in production.

To blocklist an origin:

from import get_search

s = get_search(cls='remote', url='')
s.origin_update([{"url": "", "blocklisted": True}])