Comments (5)
The error suggests that a URL existed with the double quote in it in the page where it was extracted. To find out whether it is the case or a bug with the URL Extractor logic, it would help if you could give the site URL, or maybe attach the page that contains the URL "http://www.somehost.com/hook/". If you can.
For the (optional) variables, they follow the Apache Velocity syntax so the use of ${braces} is recommended, but not always necessary. It is required when the variable names would blend with other characters if you do not have the ${variable} approach. ${like}this. To play it safe, you can always use the curly braces. No that the dollar sign goes outside the curly braces, not inside like your example.
from crawlers.
You may use for example http://www.site.com for the test crawl, getting such error messages:
INFO [DefaultSitemapResolver] Resolving sitemap: http://www.site.com/sitemap.xml
INFO [DefaultSitemapResolver] Resolved: http://www.site.com/sitemap.xml
ERROR [URLProcessor] Could not process URL: http://www.site.com/"
com.norconex.commons.lang.url.URLException: Invalid URL syntax: http://www.site.com/"
The similar error I get in first minutes running the crawl for http://www.drupal.org
Search depth were set to 5.
from crawlers.
Hello Antonio,
It turns out as being a defect with URL Extractor. It was not handling empty href
properly. Like from this code snippet found in your page:
<li><a href=""><a href="/imprint">Impress</a></a></li>
In addition, I noticed you have several URLs with spaces in them. Those were rejected too.
The good news is both these issues have been addressed in this new 1.3.2 snapshot release.
Please give it a try and let me know if it addresses your issues.
from crawlers.
The snapshot 1.3.2 works perfectly for me. It handles all cases disturbed me before.
Thanks a lot!
from crawlers.
Great! I'll release it soon.
from crawlers.
Related Issues (20)
- Need to install Norconex latest using browser gcloud cli or ssh HOT 4
- Abort sync when condition met HOT 2
- WebDriverHttpFetcher with Selenium breaks include Filters HOT 6
- utf-8 incoding HOT 1
- Norconex components HOT 4
- What can I do if I want to get the images(.jpg) from the sites? HOT 3
- Make `upcoming-v4` the main branch. HOT 1
- Rename `collector-http` project name to `crawlers`. HOT 1
- Publish 4.0.0-alpha.1 on Maven Central. HOT 1
- Publish 4.0.0-alpha.1 on Dockerhub. HOT 1
- Create flow to publish to Dockerhub. HOT 1
- Meet quality gates HOT 1
- Have starter documentation HOT 1
- How to crawl sites with no file extensions on pages? HOT 3
- Internal sharepoint website is giving a 403 Forbidden HOT 3
- How to fetch a given set of files but NOT parse them in Norcornex web crawler? HOT 3
- Scheduled Threads for crawling HOT 5
- I want to extract all the html information. HOT 3
- List of URLs for Redirects HOT 1
- Drupal website - unpublished documents returning an HTTP status of 403 - how to have them deleted HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crawlers.