Skip to content

Commit

Permalink
更换脚本,修改文件结构
Browse files Browse the repository at this point in the history
  • Loading branch information
TartaricAcid committed Jan 25, 2018
1 parent fe767ef commit 2440901
Show file tree
Hide file tree
Showing 1,645 changed files with 1,259 additions and 3,276 deletions.
100 changes: 100 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,101 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
language: python
python:
- '3.6'
before_install:
- sudo apt-get install unzip
script:
- chmod +x zip.sh
- "./zip.sh"
- "python3 ./zip.py"
before_deploy:
- git config --local user.name "TartaricAcid"
- git config --local user.email "[email protected]"
Expand Down
41 changes: 0 additions & 41 deletions all_update_1.py

This file was deleted.

41 changes: 0 additions & 41 deletions all_update_2.py

This file was deleted.

46 changes: 0 additions & 46 deletions all_update_3.py

This file was deleted.

5 changes: 0 additions & 5 deletions black.list

This file was deleted.

30 changes: 30 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 爬虫工具的配置文件

# 爬虫抓取的版本
# 目前只有 1.7.10, 1.8.9, 1.9.4, 1.10.2, 1.11.2, 1.12.2 四个可选
version: 1.12.2

# 爬虫的线程数
threads_num: 20

# 爬虫的爬取页数
mod_page: 30
modpack_page: 1

# 爬虫白名单,在此名单上的模组和整合包会被爬取
# 名单请使用 curseforge url 中的名称
mod_whitelist:
- integrated-rest
modpack_whitelist:
- baka943

# 爬虫黑名单,在此名单上的模组和整合包会被禁止爬取,会覆盖白名单
# 名单请使用 curseforge url 中的名称
mod_blacklist:
- dungeon-tactics
- minecraft-comes-alive-mca
- bookshelf
- mike-dongles
- magical-psi
modpack_blacklist:
- the-new-frontier
69 changes: 0 additions & 69 deletions delete_english.py

This file was deleted.

46 changes: 0 additions & 46 deletions delete_update.py

This file was deleted.

Loading

0 comments on commit 2440901

Please sign in to comment.