Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(891)

Side by Side Diff: tools/site_compare/scrapers/chrome/chromebase.py

Issue 8678023: Fix python scripts in src/tools/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/python2.4 1 #!/usr/bin/env python
2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Does scraping for all currently-known versions of Chrome""" 6 """Does scraping for all currently-known versions of Chrome"""
7 7
8 import pywintypes 8 import pywintypes
9 import types 9 import types
10 10
11 from drivers import keyboard 11 from drivers import keyboard
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 # We're being invoked rather than imported, so run some tests 183 # We're being invoked rather than imported, so run some tests
184 path = r"c:\sitecompare\scrapes\chrome\0.1.97.0" 184 path = r"c:\sitecompare\scrapes\chrome\0.1.97.0"
185 windowing.PreparePath(path) 185 windowing.PreparePath(path)
186 186
187 # Scrape three sites and save the results 187 # Scrape three sites and save the results
188 Scrape([ 188 Scrape([
189 "http://www.microsoft.com", 189 "http://www.microsoft.com",
190 "http://www.google.com", 190 "http://www.google.com",
191 "http://www.sun.com"], 191 "http://www.sun.com"],
192 path, (1024, 768), (0, 0)) 192 path, (1024, 768), (0, 0))
193
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698