Module Import alias Import alias Import alias Import alias Import alias Assign NameStore Str TryExcept body Import alias Assign NameStore Str handlers ExceptHandler type NameLoad body Assign NameStore Str TryExcept body With Call NameLoad BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str NameLoad NameLoad handlers ExceptHandler body Import alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Num Num Num Num Num Num Num Num Num Num Num Num Str Str Str Str Str Str Str Str Str Str Str Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Return NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd BinOpAdd Str SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Dict For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Return NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call NameLoad keyword Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call NameLoad keyword Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call NameLoad keyword Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call NameLoad keyword Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call NameLoad keyword Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call NameLoad keyword Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Dict For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index NameLoad ListLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Return NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Num Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Dict For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Return NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Num Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Str SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Return NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Num Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore ListLoad For NameStore Call NameLoad Num body Assign NameStore BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num SubscriptLoad NameLoad Index BinOpAdd NameLoad Num Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Num Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Str body Return NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Return NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body TryExcept body Assign AttributeStore NameLoad attr BinOpAdd Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListLoad Assign NameStore Dict For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Return NameLoad Return Call NameLoad NameLoad handlers ExceptHandler body Raise Call NameLoad Str decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Print Call AttributeLoad NameLoad attr keyword Str Print Call AttributeLoad NameLoad attr Str Print Call AttributeLoad NameLoad attr Str Print Call AttributeLoad NameLoad attr Print Call AttributeLoad NameLoad attr Print Call AttributeLoad NameLoad attr Str
N/A N/A requests N/A bs4 N/A datetime N/A json N/A sys N/A parser N/A N/A N/A lxml N/A parser lxml N/A N/A N/A ImportError N/A N/A parser html.parser N/A N/A N/A N/A open N/A N/A N/A sys path N/A 0 /proxy.config r f N/A N/A proxies N/A N/A f read N/A proxy_dict N/A http https proxies proxies N/A N/A N/A N/A urllib N/A proxy_dict N/A N/A urllib getproxies N/A months N/A 1 2 3 4 5 6 7 8 9 10 11 12 JANUARY FEBRUARY MARCH APRIL MAY JUNE JULY AUGUST SEPTEMBER OCTOBER NOVEMBER DECEMBER Barclay N/A object N/A get_news_headlines N/A N/A self get_club_news type_return N/A False string N/A N/A 
        Parameters
        ----------
        get_club_news : Bool, default to False
                        If true , returns news about clubs too.

        type_return : String, to specify the return type
                      Defaults to `string`
        Returns
        -------
        String : A collection of news headlines and links
         N/A url http://www.premierleague.com/en-gb.html N/A res N/A N/A requests get url stream True proxies proxy_dict N/A soup N/A N/A bs4 BeautifulSoup N/A res text parser N/A all_updated False N/A news_headline N/A N/A news_list N/A N/A soup select .newsfeaturetitle N/A i N/A range N/A len news_list N/A N/A N/A N/A news_headline append N/A str N/A N/A news_list N/A i text N/A news_url N/A N/A urls N/A N/A soup select .newsfeature a N/A i urls N/A N/A N/A N/A news_url append N/A http://www.premierleague.com/ N/A N/A i get href N/A N/A get_club_news True N/A N/A news_list N/A N/A soup select .feed li a N/A i N/A range N/A len news_list N/A N/A N/A N/A news_headline append N/A str N/A N/A news_list N/A i text N/A urls N/A N/A soup select .feed li a N/A i urls N/A N/A N/A N/A news_url append N/A N/A i get href N/A return_dict N/A N/A N/A i name N/A enumerate news_headline N/A N/A N/A return_dict N/A name N/A news_url N/A i N/A N/A type_return dict N/A N/A return_dict N/A N/A str return_dict N/A next3Fixtures N/A N/A self type_return N/A string N/A N/A now N/A N/A N/A datetime datetime now N/A url N/A N/A http://www.premierleague.com/en-gb/matchday/league-table.html?season=2015-2016&month= N/A months N/A N/A now month &timelineView=date&toDate=1451433599999&tableView=NEXT_3_FIXTURES N/A team_names N/A soup template .next3FixturesTable N/A i N/A range N/A len team_names N/A N/A N/A team_names N/A i N/A str N/A N/A team_names N/A i text N/A next_3_fixtures N/A N/A soup select .club-row .col-fixture N/A i N/A range N/A len next_3_fixtures N/A N/A N/A next_3_fixtures N/A i N/A str N/A N/A next_3_fixtures N/A i text N/A return_dict N/A N/A i N/A range N/A len team_names N/A N/A N/A return_dict N/A N/A team_names N/A i N/A next_3_fixtures N/A i N/A N/A type_return dict N/A N/A return_dict N/A N/A str return_dict N/A pointsTable N/A N/A self type_return N/A string N/A N/A url http://www.premierleague.com/en-gb/matchday/league-table.html N/A res N/A N/A requests get url stream True proxies proxy_dict N/A soup N/A N/A bs4 BeautifulSoup N/A res text parser N/A team_name N/A soup template .leagueTable-Club N/A i N/A range N/A len team_name N/A N/A N/A team_name N/A i N/A str N/A N/A team_name N/A i text N/A matches_played N/A soup template .leagueTable-P N/A i N/A range N/A len matches_played N/A N/A N/A matches_played N/A i N/A str N/A N/A matches_played N/A i text N/A matches_won N/A soup template .leagueTable-W N/A i N/A range N/A len matches_won N/A N/A N/A matches_won N/A i N/A str N/A N/A matches_won N/A i text N/A matches_drew N/A soup template .leagueTable-D N/A i N/A range N/A len matches_drew N/A N/A N/A matches_drew N/A i N/A str N/A N/A matches_drew N/A i text N/A matches_lost N/A soup template .leagueTable-L N/A i N/A range N/A len matches_lost N/A N/A N/A matches_lost N/A i N/A str N/A N/A matches_lost N/A i text N/A goals_difference N/A soup template .leagueTable-GD N/A i N/A range N/A len goals_difference N/A N/A N/A goals_difference N/A i N/A str N/A N/A goals_difference N/A i text N/A points N/A soup template .leagueTable-Pts N/A i N/A range N/A len points N/A N/A N/A points N/A i N/A str N/A N/A points N/A i text N/A return_dict N/A N/A i N/A range N/A len team_name N/A N/A N/A return_dict N/A N/A team_name N/A i N/A N/A matches_played N/A i N/A matches_won N/A i N/A matches_drew N/A i N/A matches_lost N/A i N/A goals_difference N/A i N/A points N/A i N/A N/A type_return dict N/A N/A return_dict N/A N/A str return_dict N/A topScorers N/A N/A self type_return N/A string N/A N/A url http://www.premierleague.com/en-gb.html N/A res N/A N/A requests get url stream True proxies proxy_dict N/A soup N/A N/A bs4 BeautifulSoup N/A res text parser N/A top_scorers N/A N/A soup select .statsranking-topscorers .statsranking-table .statsranking-name a N/A i N/A range N/A len top_scorers N/A N/A N/A top_scorers N/A i N/A str N/A N/A top_scorers N/A i text N/A top_scorers_goals N/A N/A top_scorers_temp N/A N/A soup select .statsranking-topscorers .statsranking-table tbody tr td N/A i N/A range 2 N/A len top_scorers_temp 3 N/A N/A N/A N/A top_scorers_goals append N/A str N/A N/A top_scorers_temp N/A i text N/A return_dict N/A N/A i N/A range N/A len top_scorers N/A N/A N/A return_dict N/A N/A top_scorers N/A i N/A top_scorers_goals N/A i N/A N/A type_return dict N/A N/A return_dict N/A N/A str return_dict N/A Fixtures N/A N/A self type_return N/A string N/A N/A url http://www.premierleague.com/en-gb/matchday/matches.html?paramClubId=ALL&paramComp_8=true&view=.dateSeason N/A res N/A N/A requests get url stream True proxies proxy_dict N/A soup N/A N/A bs4 BeautifulSoup N/A res text parser N/A fixtures_time N/A N/A fixtures_location N/A N/A fixtures_clubs N/A N/A fixture_table N/A N/A soup select .contentTable N/A tables fixture_table N/A N/A date N/A N/A tables select th N/A N/A date N/A 0 N/A str N/A N/A date N/A 0 text N/A fixtures_t N/A N/A tables select .time N/A i N/A range N/A len fixtures_t N/A N/A N/A N/A fixtures_time append N/A N/A N/A str N/A N/A fixtures_t N/A i text ,  N/A date N/A 0 N/A fixtures_c N/A N/A tables select .clubs a N/A i N/A range N/A len fixtures_c N/A N/A N/A N/A fixtures_clubs append N/A str N/A N/A fixtures_c N/A i text N/A fixtures_l N/A N/A tables select .location a N/A i N/A range N/A len fixtures_l N/A N/A N/A N/A fixtures_location append N/A str N/A N/A fixtures_l N/A i text N/A temp N/A list N/A zip fixtures_clubs fixtures_time fixtures_location N/A N/A type_return dict N/A N/A temp N/A N/A str temp N/A Results N/A N/A self type_return N/A string N/A N/A url http://www.premierleague.com/en-gb.html N/A res N/A N/A requests get url stream True proxies proxy_dict N/A soup N/A N/A bs4 BeautifulSoup N/A res text parser N/A results_time N/A N/A soup select .megamenu-date span N/A i N/A range N/A len results_time N/A N/A N/A results_time N/A i N/A str N/A N/A results_time N/A i text N/A results_time N/A results_time N/A 0 20 N/A N/A N/A results_time reverse N/A results_clubs N/A N/A soup select .megamenu-matchName span N/A i N/A range N/A len results_clubs N/A N/A N/A results_clubs N/A i N/A str N/A N/A results_clubs N/A i text N/A results_clubs N/A results_clubs N/A 0 60 N/A results_clubs_temp N/A N/A i N/A range 20 N/A N/A j N/A i 3 N/A N/A N/A results_clubs_temp append N/A N/A results_clubs N/A j N/A results_clubs N/A N/A j 1 N/A results_clubs N/A N/A j 2 N/A results_clubs results_clubs_temp N/A N/A N/A results_clubs reverse N/A results_location N/A N/A soup select .megamenu-venue N/A i N/A range N/A len results_location N/A N/A N/A results_location N/A i N/A str N/A N/A results_location N/A i text N/A results_location N/A results_location N/A 0 20 N/A N/A N/A results_location reverse N/A val_return N/A list N/A zip results_time results_clubs results_location N/A N/A type_return dict N/A N/A val_return N/A N/A str val_return N/A liveScore N/A N/A self type_return N/A string N/A N/A N/A self url http://www.premierleague.com/en-gb.html N/A N/A self res N/A N/A requests get N/A self url stream True proxies proxy_dict N/A N/A self soup N/A N/A bs4 BeautifulSoup N/A N/A self res text parser N/A matches N/A N/A N/A self soup select .LIVE  .MEGAMENU-MATCHnAME N/A live_matches N/A N/A i matches N/A N/A temp N/A N/A N/A i text split N/A temp N/A N/A join temp N/A N/A N/A live_matches append temp N/A N/A type_return dict N/A N/A live_matches N/A N/A str live_matches N/A playerStats N/A N/A self name type_return N/A string N/A N/A N/A N/A N/A self url N/A http://www.premierleague.com/en-gb/players/profile.html/ name N/A N/A self res N/A N/A requests get N/A self url stream True proxies proxy_dict N/A N/A self soup N/A N/A bs4 BeautifulSoup N/A N/A self res text parser N/A stats N/A N/A N/A self soup select .left td N/A temp N/A N/A statsDict N/A N/A i stats N/A N/A N/A N/A temp append N/A i text N/A N/A statsDict N/A N/A temp N/A 0 N/A temp N/A 1 N/A N/A statsDict N/A N/A temp N/A 8 N/A temp N/A 9 N/A N/A statsDict N/A N/A temp N/A 12 N/A temp N/A 13 N/A N/A statsDict N/A N/A temp N/A 16 N/A temp N/A 17 N/A N/A type_return dict N/A N/A statsDict N/A N/A str statsDict N/A N/A N/A N/A N/A ValueError Name not found, enter a valid name of player! N/A N/A N/A N/A __name__ __main__ N/A N/A obj N/A Barclay N/A N/A N/A obj get_news_headlines type_return dict N/A N/A N/A obj pointsTable dict N/A N/A N/A obj topScorers dict N/A N/A N/A obj Fixtures N/A N/A N/A obj Results N/A N/A N/A obj playerStats harry-kane