Beispiel #1
0
'''
Created on 02.08.2012

@author: avkoltsov
'''
from browser import Browser
from google_reader_page import GoogleReaderPage


if __name__ == '__main__':
    driver = None
    try:
        driver = Browser.getFF()
        
        page = GoogleReaderPage(driver)
        page.open_page()
        
        lis = page.get_subscriptions()
        for li in lis:
            if  li.is_displayed():
                page.open_subscription(li)
                entries = page.get_entries()
                print '%s (%s)' % (li.text, len(entries))
    finally:
        driver.quit()
Beispiel #2
0
'''
Created on 02.08.2012

@author: avkoltsov
'''
from browser import Browser
from google_reader_page import GoogleReaderPage

if __name__ == '__main__':
    driver = None
    try:
        driver = Browser.getFF()
        page = GoogleReaderPage(driver)
        page.open_page()

        lis = page.get_subscriptions()
        for li in lis:
            if li.is_displayed():
                print li.text
    finally:
        driver.quit()
Beispiel #3
0
'''
Created on 02.08.2012

@author: avkoltsov
'''
from browser import Browser
from google_reader_page import GoogleReaderPage


if __name__ == '__main__':
    driver = None
    try:
        driver = Browser.getFF()
        
        page = GoogleReaderPage(driver)
        page.open_page()
        
        lis = page.get_subscriptions()
        for li in lis:
            if  li.is_displayed():

                page.open_subscription(li)
                page.scroll_entries_down()
                entries = page.get_entries()
                
                entries.reverse()
                last_enrty_date = page.get_date(entries[0])
                print '%s (%s) %s' % (li.text, len(entries), last_enrty_date)
                                                 
    finally:
        driver.quit()
Beispiel #4
0
'''
Created on 02.08.2012

@author: avkoltsov
'''
from browser import Browser
from google_reader_page import GoogleReaderPage

if __name__ == '__main__':
    driver = None
    try:
        driver = Browser.getFF()
        page = GoogleReaderPage(driver)
        page.open_page()
        
        lis = page.get_subscriptions()
        for li in lis:
            if  li.is_displayed():
                print li.text
    finally:
        driver.quit()
Beispiel #5
0
'''
Created on 02.08.2012

@author: avkoltsov
'''
from browser import Browser
from google_reader_page import GoogleReaderPage


if __name__ == '__main__':
    driver = None
    try:
        driver = Browser.getFF()
        page = GoogleReaderPage(driver)
        page.open_page()
        
        lis = page.get_subscriptions()
        for li in lis:
            if  li.is_displayed():
                
                page.open_subscription(li)
                page.scroll_entries_down()
                entries = page.get_entries()
                
                print '%s (%s)' % (li.text, len(entries))
    finally:
        driver.quit()
Beispiel #6
0
"""
Created on 02.08.2012

@author: avkoltsov
"""
from browser import Browser
from google_reader_page import GoogleReaderPage

from time import sleep

if __name__ == "__main__":
    driver = None
    try:
        driver = Browser.getFF()
        page = GoogleReaderPage(driver)
        page.open_page()

        sleep(3)
    finally:
        driver.quit()
Beispiel #7
0
'''
Created on 02.08.2012

@author: avkoltsov
'''
from browser import Browser
from google_reader_page import GoogleReaderPage

from time import sleep

if __name__ == '__main__':
    driver = None
    try:
        driver = Browser.getFF()
        page = GoogleReaderPage(driver)
        page.open_page()

        sleep(3)
    finally:
        driver.quit()