GithubHelp home page GithubHelp logo

CrawlScript 基于JAVA的网络爬虫脚本语言。

CrawlScript主页:http://crawlscript.github.io/

网络爬虫即自动获取网页信息的一种程序,有很多JAVA、C++的网络爬虫类库,但是在这些类库的基础上开发十分繁琐,需要大量的代码才可以完成一个简单的操作。鉴于这个问题,我们开发了CrawlScript这种脚本语言,程序员只需要写2-3行简单的代码,就可以制作一个强大的网络爬虫。同时,CrawlScript由JAVA编写,可以在其他JAVA程序中被简单调用。

CrawlScript是跨平台的,在任何有JDK环境的电脑上都可以运行,无论是windows、linux还是unix。

运行CrawlScript的方法:

1.WINDOWS:进入CrawlScript文件夹,双击crawlscript.bat。

2.LINUX:用命令行进入CrawlScript文件夹,执行sh crawlscript.sh。

测试:输入doc=$("http://www.baidu.com") ,回车,可看到百度网页的所有文字。 继续输入print(doc.a()) ,回车,可看到百度网页的所有超链接中的文字。

相关教程和API可查看CrawlScript主页:http://crawlscript.github.io/

crawlscript's Projects

crawlscript icon crawlscript

CrawlScript 基于JAVA的网络爬虫脚本语言,可以直接使用或用JAVA二次开发。

ganhacks icon ganhacks

starter from "How to Train a GAN?" at NIPS2016

jax-gnn icon jax-gnn

Efficient and Friendly Graph Neural Network Library for JAX

jax-sparse icon jax-sparse

Efficient and Friendly Sparse Matrix Library for JAX

jforests icon jforests

Automatically exported from code.google.com/p/jforests

nutcher icon nutcher

nutcher是中文的nutch文档,包含nutch的配置和源码解析,持续更新中。

ogb_lite icon ogb_lite

A lite version of the Open Graph Benchmark (OGB) that does not rely on torch.

rbm4j icon rbm4j

RBM(Restricted Boltzmann machine) implemented by Java

rphgnn icon rphgnn

Source code and dataset of the paper "Efficient Heterogeneous Graph Learning via Random Projection"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.