Skip to content

Commit 391af6a

Browse files
Update Article.py
1 parent 39242e4 commit 391af6a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

News_Article_Scraping/Article.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
###############################################################################
12
"""
23
@Newspaper3k usage
34
@Usage of functions in newspaper:
@@ -28,9 +29,9 @@
2829
2930
article_name.keywords
3031
"""
32+
####################################################################################
3133

3234
#Sample Usage Program
33-
3435
from newspaper import Article
3536

3637
#A new article from TOI
@@ -67,6 +68,8 @@
6768
print("Article's Keywords:")
6869
print(toi_article.keywords)
6970

71+
72+
#####################################################################################################################################################################################
7073
"""
7174
Output:
7275
=======
@@ -84,5 +87,5 @@
8487
"China can show the region and the international community or even the UN Security Council its evidence to illustrate China's position, " Long said.
8588
"Indians have migrated in large numbers to Nepal and Bhutan, interfering with Nepal's internal affairs.
8689
The first challenge for Nepal and Bhutan is to avoid becoming a state of India, like Sikkim, " he said.
87-
8890
"""
91+
####################################################################################################################################################################################

0 commit comments

Comments
 (0)