|
183 | 183 |
|
184 | 184 | linkcheck_retries = 3 # default is 1
|
185 | 185 |
|
| 186 | +# About User-Agent: |
| 187 | +# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent |
| 188 | +linkcheck_request_headers = { |
| 189 | + "*": { 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0' }, |
| 190 | +} |
| 191 | + |
186 | 192 | linkcheck_ignore = [
|
187 | 193 | # currently SSL_ERROR_BAD_CERT_DOMAIN
|
188 | 194 | # TODO remove this line when the CERT is fixed
|
189 | 195 | r'https://www.rspatial.org',
|
190 | 196 |
|
| 197 | + |
| 198 | + # NewConnectionError looks like information is wrong |
| 199 | + r'http://udig.refractions.net', |
| 200 | + |
191 | 201 | # link exists but does not accept robots and linkchecker is a robot
|
192 | 202 | # used in overview/mapserver_overview
|
193 | 203 | 'http://www.dnr.state.mn.us/maps/compass.html',
|
|
200 | 210 | 'https://www.iso.org',
|
201 | 211 | r'https://inspire.ec.europa.eu',
|
202 | 212 |
|
203 |
| - # 403 Client Error: Forbidden for url |
204 |
| - r'https://www.intel.com/', |
205 |
| - r'https://www.mydigitallife.net/', |
206 |
| - |
207 | 213 | # HTTPSConnectionPool
|
208 | 214 | r'https://worldwind.arc.nasa.gov/java/',
|
209 | 215 | r'https://r-spatial.org',
|
|
218 | 224 | r'https://live.osgeo.org/archive/15.0',
|
219 | 225 | r'https://live.osgeo.org/archive/16.0',
|
220 | 226 |
|
| 227 | + # For the following an appropiate user agent is needed |
221 | 228 | # 403 Client Error
|
| 229 | + r'https://www.intel.com', |
| 230 | + r'https://www.mydigitallife.net', |
222 | 231 | r'https://docs.etf-validator.net',
|
223 | 232 | r'https://etf-validator.net',
|
224 | 233 | r'https://www.ogc.org',
|
225 |
| - r'https://external.ogc.org', |
226 |
| - r'https://www.safe.com', |
227 |
| - r'https://www.geowebcache.org', |
228 |
| - r'https://www.geoext.org', |
| 234 | + r'https://sourceforge.net', |
| 235 | + r'https://opensource.org', |
229 | 236 |
|
230 | 237 | # link exists but when many link checks are done link checker fails
|
231 | 238 | # ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
|
|
0 commit comments