mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-12 04:18:08 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
e5fe3959c1
commit
ea533ae5b6
|
@ -1,5 +1,5 @@
|
||||||
"""
|
"""
|
||||||
Fetch all the top headlines from Hindustan Times News website with title, link to the news article
|
Fetch all the top headlines from Hindustan Times News website with title, link to the news article
|
||||||
and cover image link.
|
and cover image link.
|
||||||
|
|
||||||
The following format is used while displaying the data
|
The following format is used while displaying the data
|
||||||
|
@ -18,7 +18,6 @@ from bs4 import BeautifulSoup
|
||||||
|
|
||||||
|
|
||||||
def fetch_ht_news():
|
def fetch_ht_news():
|
||||||
|
|
||||||
header = {
|
header = {
|
||||||
"Accept": "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8",
|
"Accept": "image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8",
|
||||||
"Sec-GPC": "1",
|
"Sec-GPC": "1",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user