Fixing some screen scraping and bumping the version
authorepage <eopage@byu.net>
Fri, 15 May 2009 10:49:54 +0000 (10:49 +0000)
committerepage <eopage@byu.net>
Fri, 15 May 2009 10:49:54 +0000 (10:49 +0000)
git-svn-id: file:///svnroot/gc-dialer/trunk@281 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

src/dc_glade.py
src/gv_backend.py
support/builddeb.py

index d311ce6..b0b6231 100755 (executable)
@@ -56,7 +56,7 @@ class Dialcentral(object):
 
        __pretty_app_name__ = "DialCentral"
        __app_name__ = "dialcentral"
-       __version__ = "0.9.4"
+       __version__ = "0.9.5"
        __app_magic__ = 0xdeadbeef
 
        _glade_files = [
index 5040ad6..c92412e 100644 (file)
@@ -70,7 +70,7 @@ class GVDialer(object):
        """
 
        _tokenRe = re.compile(r"""<input.*?name="_rnr_se".*?value="(.*?)"\s*/>""")
-       _accountNumRe = re.compile(r"""<b class="ms2">(.{14})</b></div>""")
+       _accountNumRe = re.compile(r"""<b class="ms\d">(.{14})</b></div>""")
        _callbackRe = re.compile(r"""\s+(.*?):\s*(.*?)<br\s*/>\s*$""", re.M)
        _validateRe = re.compile("^[0-9]{10,}$")
        _gvDialingStrRe = re.compile("This may take a few seconds", re.M)
@@ -377,6 +377,7 @@ class GVDialer(object):
 
        def _grab_account_info(self):
                page = self._browser.download(self._forwardURL)
+               print page
 
                tokenGroup = self._tokenRe.search(page)
                if tokenGroup is None:
index c3caa38..58330cf 100755 (executable)
@@ -7,10 +7,14 @@ __appname__ = "dialcentral"
 __description__ = "Simple interface to Google's GrandCentral(tm) service"
 __author__ = "Ed Page"
 __email__ = "eopage@byu.net"
-__version__ = "0.9.4"
+__version__ = "0.9.5"
 __build__ = 0
 __changelog__ = '''\
+0.9.5
+ * Fixed a login issue due to Google changing their webpage
+
 0.9.4 - ""
+ * Misc Bug fixes and experiments
 
 0.9.3 - ""
  * Removed the much disliked contact source ID