I need a slack bot that\'s able to receive and save files send from slack chatrooms.
The problem is: slack doesn\'t send file contents, but an array of links pointing to
Example for using the Python requests library to fetch an example file:
import requests url = 'https://slack-files.com/T0JU09BGC-F0UD6SJ21-a762ad74d3' token = 'xoxp-8853424449-8820034832-8891394196-faf6f0' requests.get(url, headers={'Authorization': 'Bearer %s' % token})