Skip to content

Instantly share code, notes, and snippets.

{
"embeddings": [
{
"tensorName": "My tensor",
"tensorShape": [
1000,
50
],
"tensorPath": "https://github.com/ahhn/2020imsi/raw/master/code/all_tensor.tsv",
"metadataPath": "https://github.com/ahhn/2020imsi/raw/master/code/all_metadata.tsv",
@ahhn
ahhn / scraper.py
Last active August 29, 2015 14:10 — forked from cornchz/scraper.py
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from gevent import monkey; monkey.patch_all()
import re
from urlparse import urljoin
from gevent.pool import Pool
import requests