Skip to content

Instantly share code, notes, and snippets.

I'm a cowboy... In an Ostrich I must ride!

Roberto Salgado droberin

I'm a cowboy... In an Ostrich I must ride!
Block or report user

Report or block droberin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
droberin /
Created Feb 9, 2018
Slack exported conversation avatar replacement with locally downloaded avatars from original URL
import os
import lxml.html as LH
import shutil
import requests
temp_dir = "/tmp/avatar_tmp"
if not os.path.isdir("html/avatars"):
if os.path.isdir(temp_dir):
You can’t perform that action at this time.