├── .gitignore ├── .travis.yml ├── LICENSE ├── MANIFEST.in ├── README.rst ├── dcard ├── __init__.py ├── api.py ├── cli.py ├── dcard.py ├── manager.py ├── posts.py ├── prequests.py └── utils.py ├── docs └── img │ └── snapshot.png ├── examples └── README.md ├── requirements.txt ├── setup.py └── tests ├── __init__.py ├── _data ├── forums.json ├── forums_all.json ├── post_metas.json ├── posts.json ├── sample.jpg ├── single_post_comments.json ├── single_post_content.json ├── single_post_links.json └── single_post_single_comments.json ├── conftest.py ├── mocked.py ├── test_api.py ├── test_cli.py ├── test_forums.py ├── test_manager.py ├── test_posts.py └── test_utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.rst LICENSE requirements.txt 2 | -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/README.rst -------------------------------------------------------------------------------- /dcard/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/dcard/__init__.py -------------------------------------------------------------------------------- /dcard/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/dcard/api.py -------------------------------------------------------------------------------- /dcard/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/dcard/cli.py -------------------------------------------------------------------------------- /dcard/dcard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/dcard/dcard.py -------------------------------------------------------------------------------- /dcard/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/dcard/manager.py -------------------------------------------------------------------------------- /dcard/posts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/dcard/posts.py -------------------------------------------------------------------------------- /dcard/prequests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/dcard/prequests.py -------------------------------------------------------------------------------- /dcard/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/dcard/utils.py -------------------------------------------------------------------------------- /docs/img/snapshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/docs/img/snapshot.png -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/examples/README.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | six 2 | requests 3 | fake_useragent -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/_data/forums.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/_data/forums.json -------------------------------------------------------------------------------- /tests/_data/forums_all.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/_data/forums_all.json -------------------------------------------------------------------------------- /tests/_data/post_metas.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/_data/post_metas.json -------------------------------------------------------------------------------- /tests/_data/posts.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/_data/posts.json -------------------------------------------------------------------------------- /tests/_data/sample.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/_data/sample.jpg -------------------------------------------------------------------------------- /tests/_data/single_post_comments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/_data/single_post_comments.json -------------------------------------------------------------------------------- /tests/_data/single_post_content.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/_data/single_post_content.json -------------------------------------------------------------------------------- /tests/_data/single_post_links.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /tests/_data/single_post_single_comments.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/_data/single_post_single_comments.json -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/mocked.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/mocked.py -------------------------------------------------------------------------------- /tests/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/test_api.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/test_forums.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/test_forums.py -------------------------------------------------------------------------------- /tests/test_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/test_manager.py -------------------------------------------------------------------------------- /tests/test_posts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/test_posts.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leVirve/dcard-spider/HEAD/tests/test_utils.py --------------------------------------------------------------------------------