Skip to content

Commit dcbc2de

Browse files
committed
add emagazine
1 parent 3b764c1 commit dcbc2de

File tree

16 files changed

+2203
-2059
lines changed

16 files changed

+2203
-2059
lines changed

Pipfile

Lines changed: 55 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,55 @@
1-
[[source]]
2-
url = "https://mirrors.aliyun.com/pypi/simple"
3-
verify_ssl = true
4-
name = "pypi"
5-
6-
[packages]
7-
beautifulsoup4 = "*"
8-
bootstrap-flask = "*"
9-
feedparser = "6.0.8"
10-
flask-debugtoolbar = "*"
11-
flask-moment = "*"
12-
Flask = "*"
13-
python-dotenv = "*"
14-
markupsafe = "2.0.1"
15-
gunicorn = "*"
16-
requests = "*"
17-
parsel = "*"
18-
flask-script = "*"
19-
icecream = "*"
20-
flask-analytics = "*"
21-
arrow = "1.2.2"
22-
undetected-chromedriver = "*"
23-
pyjsparser = "*"
24-
charset-normalizer = "*"
25-
pyppeteer = "*"
26-
flask-caching = "*"
27-
pytz = "*"
28-
29-
[dev-packages]
30-
coverage = "*"
31-
pdir2 = "*"
32-
ptpython = "*"
33-
yapf = "*"
34-
pylint = "*"
35-
36-
[scripts]
37-
test = "python -m unittest discover"
38-
coverage = "coverage run -m unittest discover"
1+
[[source]]
2+
url = "https://mirrors.aliyun.com/pypi/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
pyjsparser = "*"
8+
pytz = "*"
9+
arrow = "==1.2.2"
10+
asttokens = "==2.0.5"
11+
beautifulsoup4 = "==4.11.1"
12+
blinker = "==1.4"
13+
bootstrap-flask = "==1.8.0"
14+
certifi = "==2021.10.8"
15+
charset-normalizer = "==2.0.9"
16+
click = "==8.0.3"
17+
colorama = "==0.4.4"
18+
cssselect = "==1.1.0"
19+
executing = "==0.8.2"
20+
feedparser = "==6.0.8"
21+
flask = "==2.0.2"
22+
flask-analytics = "==0.6.0"
23+
flask-caching = "==2.0.2"
24+
flask-debugtoolbar = "==0.11.0"
25+
flask-moment = "==1.0.2"
26+
flask-script = "==2.0.6"
27+
gunicorn = "==20.1.0"
28+
icecream = "==2.1.1"
29+
idna = "==3.3"
30+
itsdangerous = "==2.0.1"
31+
jinja2 = "==3.0.3"
32+
lxml = "==4.6.3"
33+
markupsafe = "==2.0.1"
34+
parsel = "==1.6.0"
35+
pyppeteer = "==1.0.2"
36+
pygments = "==2.11.1"
37+
python-dotenv = "==0.19.2"
38+
requests = "==2.26.0"
39+
six = "==1.16.0"
40+
undetected-chromedriver = "==3.1.7"
41+
urllib3 = "==1.26.18"
42+
w3lib = "==1.22.0"
43+
werkzeug = "==2.1.2"
44+
zipp = "==3.6.0"
45+
46+
[dev-packages]
47+
coverage = "*"
48+
pdir2 = "*"
49+
ptpython = "*"
50+
yapf = "*"
51+
pylint = "*"
52+
53+
[scripts]
54+
test = "python -m unittest discover"
55+
coverage = "coverage run -m unittest discover"

Pipfile.lock

Lines changed: 1103 additions & 1103 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
1-
# RSSHub
2-
3-
> 🍰 Everything can be RSS
4-
5-
RSSHub is a lightweight, easily extensible RSS generator that can create RSS feeds for any type of content.
6-
7-
This project is a Python implementation of the [original RSSHub](https://github.com/DIYgod/RSSHub).
8-
9-
**Actually writing crawlers in Python is more convenient than JS :p**
10-
11-
DEMO address: https://pyrsshub.vercel.app
12-
13-
## Community
14-
15-
Discord Server: [https://discord.gg/4BZBZuyx7p](https://discord.gg/4BZBZuyx7p)
16-
17-
## RSS Filtering
18-
19-
You can filter RSS content using the following query strings:
20-
21-
- include_title: Search titles (supports multiple keywords)
22-
- include_description: Search descriptions
23-
- exclude_title: Exclude titles
24-
- exclude_description: Exclude descriptions
25-
- limit: Limit number of items
26-
27-
## How to Contribute RSS
28-
29-
1. Fork this repository
30-
2. Create a new spider directory and script in the spiders folder, write your crawler (refer to my [crawler tutorial](https://juejin.cn/post/6953881777756700709))
31-
3. Add corresponding routes in main.py under blueprints (following existing route formats)
32-
4. Write documentation in feeds.html under templates/main directory (follow existing formats)
33-
5. Submit a PR
34-
35-
## Deployment
36-
37-
### Local Testing
38-
39-
First ensure [pipenv](https://github.com/pypa/pipenv) is installed
40-
41-
```bash
42-
git clone https://github.com/alphardex/RSSHub-python
43-
cd RSSHub-python
44-
pipenv install --dev
45-
pipenv shell
46-
flask run
47-
```
48-
49-
### Production Environment
50-
51-
```bash
52-
gunicorn main:app -b 0.0.0.0:5000
53-
```
54-
55-
### Deploy to Vercel
56-
57-
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fhillerliao%2Frsshub-python)
58-
59-
### Docker Deployment
60-
61-
Create docker container: `docker run -dt --name pyrsshub -p 5000:5000 hillerliao/pyrsshub:latest`
62-
63-
## Requirements
64-
65-
- Python 3.8
1+
# RSSHub
2+
3+
> 🍰 Everything can be RSS
4+
5+
RSSHub is a lightweight, easily extensible RSS generator that can create RSS feeds for any type of content.
6+
7+
This project is a Python implementation of the [original RSSHub](https://github.com/DIYgod/RSSHub).
8+
9+
**Actually writing crawlers in Python is more convenient than JS :p**
10+
11+
DEMO address: https://pyrsshub.vercel.app
12+
13+
## Community
14+
15+
Discord Server: [https://discord.gg/4BZBZuyx7p](https://discord.gg/4BZBZuyx7p)
16+
17+
## RSS Filtering
18+
19+
You can filter RSS content using the following query strings:
20+
21+
- include_title: Search titles (supports multiple keywords)
22+
- include_description: Search descriptions
23+
- exclude_title: Exclude titles
24+
- exclude_description: Exclude descriptions
25+
- limit: Limit number of items
26+
27+
## How to Contribute RSS
28+
29+
1. Fork this repository
30+
2. Create a new spider directory and script in the spiders folder, write your crawler (refer to my [crawler tutorial](https://juejin.cn/post/6953881777756700709))
31+
3. Add corresponding routes in main.py under blueprints (following existing route formats)
32+
4. Write documentation in feeds.html under templates/main directory (follow existing formats)
33+
5. Submit a PR
34+
35+
## Deployment
36+
37+
### Local Testing
38+
39+
First ensure [pipenv](https://github.com/pypa/pipenv) is installed
40+
41+
```bash
42+
git clone https://github.com/alphardex/RSSHub-python
43+
cd RSSHub-python
44+
pipenv install --dev
45+
pipenv shell
46+
flask run
47+
```
48+
49+
### Production Environment
50+
51+
```bash
52+
gunicorn main:app -b 0.0.0.0:5000
53+
```
54+
55+
### Deploy to Vercel
56+
57+
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fhillerliao%2Frsshub-python)
58+
59+
### Docker Deployment
60+
61+
Create docker container: `docker run -dt --name pyrsshub -p 5000:5000 hillerliao/pyrsshub:latest`
62+
63+
## Requirements
64+
65+
- Python 3.8

0 commit comments

Comments
 (0)