Created
April 28, 2019 20:14
-
-
Save Komzpa/885b05b0854818098def964a46f573cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create or replace function http_get(url text) | |
returns text | |
as $$ | |
import urllib.request | |
return urllib.request.urlopen(url).read().decode('utf-8') | |
$$ | |
language plpython3u | |
parallel safe | |
cost 10000; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment