Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevenjoezhang/heavens-above
Heavens Above 爬虫 | Scripts for scraping the Heavens Above website
https://github.com/stevenjoezhang/heavens-above
nodejs-app spider
Last synced: 2 months ago
JSON representation
Heavens Above 爬虫 | Scripts for scraping the Heavens Above website
- Host: GitHub
- URL: https://github.com/stevenjoezhang/heavens-above
- Owner: stevenjoezhang
- License: gpl-3.0
- Created: 2018-10-23T11:47:56.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T05:16:07.000Z (about 1 year ago)
- Last Synced: 2023-12-15T06:30:43.484Z (about 1 year ago)
- Topics: nodejs-app, spider
- Language: JavaScript
- Homepage: https://heavens-above.com/main.aspx
- Size: 117 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Heavens Above
爬取 Heavens Above 网站,获取卫星过境等信息。基于 Node.js,需使用 `npm` 安装依赖。
Scripts for scraping the Heavens Above website. It's based on Node.js. You may need to install some dependency packages using npm.**警告:不支持 IE。**
**WARNING: DO NOT SUPPORT IE.**## To Use
To clone and run this repository you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download) (which comes with [npm](http://npmjs.com)) installed on your computer. `Promise.allSettled` requires Node.js 12.10.0 or later. From your command line:
```bash
# Clone this repository
git clone https://github.com/PKUPI/heavens-above.git
# Go into the repository
cd heavens-above
# Install dependencies
npm install
# Run the app
node run.js
````public` 目录下是一个完整的网站,爬取的数据会存储在 `public/data` 目录下,通过网络服务器访问 `public/index.html` 即可查看数据的内容。
将 `node run.js` 添加到 `crontab`,以每周或每月一次的频率执行,则可以始终获取最新数据。## Credits
* [Mimi](https://zhangshuqiao.org) Developer of this project.
* Inspired by https://github.com/chengxinlun/haQuery## License
Released under the GNU General Public License v3
http://www.gnu.org/licenses/gpl-3.0.html## Todo List
=\_=
User Customize