Changeset 2889 in products for quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/keywords.py
- Timestamp:
- Oct 19, 2010 2:09:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/keywords.py
r2139 r2889 10 10 from interfaces import IValidateSEOKeywordsView 11 11 from quintagroup.seoptimizer import SeoptimizerMessageFactory as _ 12 13 from pyquery import PyQuery as pq 12 14 13 15 class ValidateSEOKeywordsView(BrowserView): … … 33 35 # extract words from url page using lynx browser (test page by 'url' 34 36 # randered without metatag keywords) 37 #import pdb;pdb.set_trace() 35 38 page_text = commands.getoutput('lynx --dump --nolist %s' % url).lower() 36 39 if page_text and page_text != 'sh: lynx: command not found': … … 40 43 msgid=_(u'Could not find lynx browser!'), 41 44 context=self.context) 45 46 # html = self.context() 47 # page_text = pq("body", html).text() 42 48 43 49 # check every keyword on appearing in body of html page
Note: See TracChangeset
for help on using the changeset viewer.