| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
### # Copyright 2015 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ###
curl -fsSL https://raw.githubusercontent.com/tudarmstadt-lt/topicrawler/master/install.sh | bash -e
wget http://builds.archive.org/maven2/org/archive/heritrix/heritrix/3.2.0/heritrix-3.2.0-dist.tar.gz tar -xvzf heritrix-*.tar.gz
wget https://github.com/tudarmstadt-lt/topicrawler/releases/download/v0.7.0/lt.ltbot-0.7.0-dist.tar.gz
tar -xvzf lt.ltbot-*.tar.gz --strip-components 1 -C heritrix-3.2.0
bin/lm -Xmx10g -Dlt.lm.knUnkLog10Prob=-10 de.tudarmstadt.lt.lm.app.StartLM -n 5 -d <dir-to-txt-files> -i <service-name>
bin/lm de.tudarmstadt.lt.lm.app.StartLM -?
export JAVA_OPTS='-Xmx20g'
export JAVA_OPTS='-Xmx10g'
bin/heritrix -a <user>:<password> -b /
open a web browser and go to 'https://server:8443'. Login with the provided user and password (if you run heritrix for the first time with that browser you also have to accept the certificate).
find and click the link 'ltbot-profile'
copy the profile to create a new crawl job (click 'Copy Job' in the upper part of the page) and give it a proper name.
click 'Configuration' in order to configure the new CrawlJob:
click 'Build' to check if your configuration contains syntax errors
click 'Launch' to run the job and start crawling (reload the page to see process, click on unpause if crawl is paused)
click on 'Terminate' and 'Teardown' to end the crawl manually
check the directory 'heritrix-3.2.0/jobs//warcs/' for the download files in warc archives (default setting, you can also provide another writer, see Heritrix Documentation for details)
| Back | FazBrowse Home | New Git URL |