Skip to content

wallacelkw/wikipedia_scraping_2_text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wikipedia_scraping_2_text

These code samples are for Wikipedia content Scraping using python

Basically it will generate two text file and one word file which contain title.txt and urllink.txt meanwhile for word doc it combine into one table of the title and url link

  1. The content which can be found using ChatGPT content of ChatGPT!

  2. Save the content into text file

  3. run the code provided above which are wiki2text.py

# Example run the code
python wiki2text.py --txt sector_singapore.txt --loc singapore

Releases

No releases published

Packages

No packages published

Languages