Revert "community: rimossa riscrittura URL in load_and_check"

This reverts commit 055ec17f
This commit is contained in:
marco
2020-09-08 17:55:51 +02:00
parent 265252f317
commit 0d62f1ef26

View File

@@ -643,7 +643,7 @@ def load_and_check(item):
if not 'checked' in channel:
response = httptools.downloadpage(channel['path'], follow_redirects=True, timeout=5)
if response.success:
# channel['path'] = response.url
channel['path'] = response.url
channel['channel_name'] = re.sub(r'\[[^\]]+\]', '', channel['channel_name'])
channel['check'] = True