简体   繁体   中英

How do I include a JS library without downloading it, if library do not have a CDN?

I am trying to write a web scraping code that does not need any prior setup.

When I send the code to someone, I want him to be able to copy paste the code and use it right away, without having to manually download any libraries etc.

For jquery and bootstrap, I achieve this by simply using CDN's. But I couldn't find any CDN's for jsoup or htmlunit.

Can I somehow make my code include those libraries automatically, without depending on a directory of the computer it is run on?

jquery and bootstrap are javascript libraries, primarily used for building web pages and such.

jsoup and htmlunit are java libraries, these can be used to build standalone applications.

You are asking about two completely different things here.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM