Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

drop 2.6 and fix scrapeshell

  • Loading branch information...
commit 2c43fdd0030a3c888c90dc26938a52324eaa5cf8 1 parent b4d84a5
@jamesturk jamesturk authored
Showing with 2 additions and 6 deletions.
  1. +0 −2  .travis.yml
  2. +2 −2 scrapelib/__main__.py
  3. +0 −2  setup.py
View
2  .travis.yml
@@ -1,8 +1,6 @@
language: python
python:
- - "2.6"
- "2.7"
- - "3.2"
- "3.3"
install: pip install mock nose "requests>=1.0" --use-mirrors --upgrade
script: nosetests
View
4 scrapelib/__main__.py
@@ -36,8 +36,8 @@ def scrapeshell(): # pragma: no cover
help="POST data (will make a POST instead of GET)")
args = parser.parse_args(orig_argv)
- scraper = Scraper(user_agent=args.user_agent,
- follow_robots=args.robots)
+ scraper = Scraper(follow_robots=args.robots)
+ scraper.user_agent=args.user_agent
url = args.url
if args.postdata:
html = scraper.urlopen(args.url, 'POST', args.postdata)
View
2  setup.py
@@ -20,9 +20,7 @@
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
- "Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
- "Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
("Topic :: Software Development :: Libraries :: "
"Python Modules"),
Please sign in to comment.
Something went wrong with that request. Please try again.