[
https://issues.apache.org/jira/browse/NUTCH-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16142692#comment-16142692
]
Sebastian Nagel commented on NUTCH-2310:
----------------------------------------
Hi, ev. it helps to remove from
[HttpResponse.java|https://github.com/apache/nutch/blob/master/src/plugin/protocol-selenium/src/java/org/apache/nutch/protocol/selenium/HttpResponse.java#L63]
the lines
{code}
if (!"http".equals(url.getProtocol()))
throw new HttpException("Not an HTTP url:" + url);
{code}
Could try it, rebuild Nutch and report whether it works? Thanks!
> Protocol-Selenium does not support HTTPS protocol
> -------------------------------------------------
>
> Key: NUTCH-2310
> URL: https://issues.apache.org/jira/browse/NUTCH-2310
> Project: Nutch
> Issue Type: Bug
> Components: protocol
> Affects Versions: 1.12
> Reporter: Joey Hong
> Labels: easyfix
> Fix For: 1.14
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> The protocol-selenium and protocol-interactiveselenium plugins raise errors
> whenever there is a URL with the HTTPS protocol.
> From the source code for those plugins, we can see that HTTP is the only
> scheme currently accepted, which makes Nutch unable to crawl HTTPS sites with
> JS using Selenium Webdrivers.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)