Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After deploying Crawl4ai with Docker, is the API API incomplete when calling it with Java? #374

Closed
sz0811 opened this issue Dec 26, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@sz0811
Copy link

sz0811 commented Dec 26, 2024

docker部署了一套crawl4ai,用java代码调用,看文档只有/crawl和task/{task_id}两个接口,像嵌入 js代码,翻页,延迟加载页面,登陆等否支持呢,两个API接口看文档没看到支持?

@sz0811 sz0811 changed the title docker部署crawl4ai后,用java调用API是否API接口不全? After deploying Crawl4ai with Docker, is the API API incomplete when calling it with Java? Dec 26, 2024
@sz0811
Copy link
Author

sz0811 commented Dec 26, 2024

Docker has deployed a set of crawl4ai, which is called using Java code. According to the documentation, there are only two interfaces:/rawl and task/{task_id}. Do they support embedding JS code, page flipping, delayed page loading, login, etc.? I didn't see any support for the two API interfaces in the documentation?

@unclecode unclecode self-assigned this Dec 26, 2024
@unclecode unclecode added the question Further information is requested label Dec 26, 2024
@unclecode
Copy link
Owner

@sz0811 Whatever you can pass to the library outside the Docker, you can also pass to the Docker version. They are identical.

Btw, I am working on a new implementation for Docker, and I hope to have it ready within two weeks. It will be very different, allowing you to use the docker as you do without Docker. This change will make the code much clearer and easier, rather than sending parameters like JSON to the server. The Docker will handle the crawling process. I will update that very soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants