Skip to content
URL2io Python SDK,用于网页信息提取,如正文提取
Jupyter Notebook Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test 修改使用SDK使用教程. Sep 11, 2016
.gitignore
README.md modified README.md Mar 26, 2015
example show how to use SDK.ipynb
url2io.py

README.md

URL2io Python SDK

This is the URL2io python SDK suite. Note that python2.7 is required.

API Docs

1. url2io.py

This is the underlying API implementation.

How to use? example:

  1. register and get token
  2. coding
>>> import url2io
>>> api = url2io.API(token)
>>> # get content and next page link
>>> ret = api.article(url='http://www.url2io.com/products', fields=['next',])
>>> print ret
{
    u'content': u'<div><p>\u63d0\u4f9b\u7b80\u5355\uff0c',
    u'date': None,
    u'title': u'URL2io \u4ecb\u7ecd',
    u'url': u'http://www.url2io.com/products'
}

more detial

You can’t perform that action at this time.