-
Notifications
You must be signed in to change notification settings - Fork 761
Credentials
Alex Osborne edited this page Jul 4, 2018
·
2 revisions
Credentials can be added so that Heritrix can gain access to areas of
Web sites requiring authentication. Credentials are configured in the
Spring configuration file, crawler-beans.cxml
. The following example
shows a configured Credential.
<bean id="credential"
class="org.archive.modules.credential.HttpAuthenticationCredential">
<property name="domain">
<value>
domain
</value>
</property>
<property name="realm">
<value>
myrealm
</value>
</property>
<property name="login">
<value>
mylogin
</value>
</property>
<property name="password">
<value>
mypassword
</value>
</property>
</bean>
One of the settings for a credential is its domain. It is therefore possible to create all credentials at a global level. However, because this can cause excessive unneeded checking of credentials, it is recommended that credentials be added to a domain override. This way, the credential is only checked when the relevant domain is being crawled.
Heritrix offers two types of authentication: RFC2617 (BASIC and DIGEST
Auth) and POST
and GET
of an HTML form.
Structured Guides:
User Guide
- Introduction
- New Features in 3.0 and 3.1
- Your First Crawl
- Checkpointing
- Main Console Page
- Profiles
- Heritrix Output
- Common Heritrix Use Cases
- Jobs
- Configuring Jobs and Profiles
- Processing Chains
- Credentials
- Creating Jobs and Profiles
- Outside the User Interface
- A Quick Guide to Creating a Profile
- Job Page
- Frontier
- Spring Framework
- Multiple Machine Crawling
- Heritrix3 on Mac OS X
- Heritrix3 on Windows
- Responsible Crawling
- Politeness parameters
- BeanShell Script For Downloading Video
- crawl manifest
- JVM Options
- Frontier queue budgets
- BeanShell User Notes
- Facebook and Twitter Scroll-down
- Deduping (Duplication Reduction)
- Force speculative embed URIs into single queue.
- Heritrix3 Useful Scripts
- How-To Feed URLs in bulk to a crawler
- MatchesListRegexDecideRule vs NotMatchesListRegexDecideRule
- WARC (Web ARChive)
- When taking a snapshot Heritrix renames crawl.log
- YouTube
- H3 Dev Notes for Crawl Operators
- Development Notes
- Spring Crawl Configuration
- Potential Cleanup-Refactorings
- Future Directions Brainstorming
- Documentation Wishlist
- Web Spam Detection for Heritrix
- Style Guide
- HOWTO Ship a Heritrix Release
- Heritrix in Eclipse