reporting: strip url to listings (#71239)
This commit is contained in:
parent
09f98d57b5
commit
c29f3f3236
|
@ -42,7 +42,7 @@ class Command(BaseCommand):
|
|||
raise CommandError('missing reporting user (%s)' % reporting_user_email)
|
||||
sheets = []
|
||||
for url in re.findall('href="(.*?)"', cell.text):
|
||||
url = html.unescape(url)
|
||||
url = html.unescape(url.strip())
|
||||
url = re.sub(
|
||||
r'/backoffice/management/([a-z0-9_-]+)(/[a-z0-9_-]+)?/?(\?)?',
|
||||
r'/api/forms/\1/ods\2\3',
|
||||
|
|
Loading…
Reference in New Issue