Skip to content

i58000/news_crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

news_crawler

HOW TO USE

python mongodb.py

HOW TO ADD A NEW MODULE

  1. write your module *.py refer to tech_163.py or auto_163.py
  2. put your module *.py in the folder mod
  3. add from mod import * to mongodb.py
  4. add your name of module to mod = [tech_163, auto_163, *]
  • define a news item as:
item = {'title': title,
        'date': date,
        'content': content,
        'cate': 'tech/auto/*',
        'src': '163/*',
        'link': link,
        }
  • mysql.py is unfinished coz my project is based on mongodb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages