An open API service indexing awesome lists of open source software.

https://github.com/marcnuth/websites-keywords-generator

This repo will provide with methods to generate keywords of given urls.
https://github.com/marcnuth/websites-keywords-generator

Last synced: over 1 year ago
JSON representation

This repo will provide with methods to generate keywords of given urls.

Awesome Lists containing this project

README

          

# Websites-Keywords-Generator

## What this for
This repo will provide with methods to generate keywords of given urls.

## Requirements
- scrapy: http://scrapy.org/
- jieba: https://github.com/fxsjy/jieba

## Usage

### Shell command
```
scrapy crawl keywords
```
### Output
The output result is in ./websites_keywords_extractor/data/keyword.db (The default file, or you can config it in settings.py)
The file is generated by sqlite3.
Two tables are involved:

#### Table: keywords:
- Columns:
- word: the extracted key word
- count: show times count

#### Table: urls
- Coulumns:
- name: the url
- timestamp: the time of parsing this url