Skip to content

Google_News .py #329

@etemesi254

Description

@etemesi254

Google_News.py not working due to the following code


   s_url ="https://news.google.com/news/headlines/section/topic/SPORTS.en_in/Sports?ned=in&hl=en-IN&gl=IN"
   Client=urlopen(s_url)

This code is not parsed by

        xml_page=Client.read()
	Client.close()

	soup_page=soup(xml_page,"xml")
	news_list=soup_page.findAll("item")

Due to the fact that there is no xml found in that url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions