We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c27331 commit 83944c8Copy full SHA for 83944c8
zulip/integrations/rss/rss-bot
@@ -209,7 +209,8 @@ client: zulip.Client = zulip.Client(
209
first_message = True
210
211
for feed_url in feed_urls:
212
- feed_file = os.path.join(opts.data_dir, urllib.parse.urlparse(feed_url).netloc) # Type: str
+ feed_url_hash = '-'+hashlib.shake_128(feed_url.encode()).hexdigest(4)
213
+ feed_file = os.path.join(opts.data_dir, urllib.parse.urlparse(feed_url).netloc+feed_url_hash) # Type: str
214
215
try:
216
with open(feed_file) as f:
0 commit comments