rename ox -> oxweb
This commit is contained in:
parent
c466c35253
commit
6a16a0af30
17 changed files with 7 additions and 5 deletions
4
README
4
README
|
@ -1,4 +1,4 @@
|
||||||
python-ox the internet is a dict
|
python-oxweb the internet is a dict
|
||||||
|
|
||||||
Depends:
|
Depends:
|
||||||
python2.5
|
python2.5
|
||||||
|
@ -8,4 +8,4 @@ Depends:
|
||||||
|
|
||||||
|
|
||||||
Test:
|
Test:
|
||||||
nosetests --with-doctest ox
|
nosetests --with-doctest oxweb
|
||||||
|
|
|
@ -2,11 +2,12 @@
|
||||||
# vi:si:et:sw=4:sts=4:ts=4
|
# vi:si:et:sw=4:sts=4:ts=4
|
||||||
import re
|
import re
|
||||||
|
|
||||||
import ox.imdb as imdb
|
|
||||||
from oxutils.cache import getUrlUnicode
|
from oxutils.cache import getUrlUnicode
|
||||||
from oxutils.html import stripTags
|
from oxutils.html import stripTags
|
||||||
from oxutils.text import findRe, removeSpecialCharacters
|
from oxutils.text import findRe, removeSpecialCharacters
|
||||||
|
|
||||||
|
import imdb
|
||||||
|
|
||||||
|
|
||||||
def getData(criterionId):
|
def getData(criterionId):
|
||||||
'''
|
'''
|
|
@ -2,11 +2,12 @@
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
import re
|
import re
|
||||||
|
|
||||||
import ox.imdb as imdb
|
|
||||||
from oxutils.cache import getUrlUnicode
|
from oxutils.cache import getUrlUnicode
|
||||||
from oxutils.html import stripTags
|
from oxutils.html import stripTags
|
||||||
from oxutils.text import findRe
|
from oxutils.text import findRe
|
||||||
|
|
||||||
|
import imdb
|
||||||
|
|
||||||
|
|
||||||
def getMovieData(title = '', director = '', imdbId = ''):
|
def getMovieData(title = '', director = '', imdbId = ''):
|
||||||
data = {'posterUrls': []}
|
data = {'posterUrls': []}
|
2
setup.py
2
setup.py
|
@ -6,7 +6,7 @@ from setuptools import setup, find_packages
|
||||||
import os
|
import os
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="ox",
|
name="oxweb",
|
||||||
version="0.1",
|
version="0.1",
|
||||||
description="collection of scrapers for various websites",
|
description="collection of scrapers for various websites",
|
||||||
author="0x",
|
author="0x",
|
||||||
|
|
Loading…
Reference in a new issue