aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use local env in python scriptsBryan Newbold2020-03-103-3/+3
| | | | | Without this correct/canonical shebang invocation, virtualenvs (pipenv) don't work.
* url cleaning (canonicalization) for ingest base_urlBryan Newbold2020-03-104-4/+21
| | | | | | | | | | | As mentioned in comment, this first version does not re-write the URL in the `base_url` field. If we did so, then ingest_request rows would not SQL JOIN to ingest_file_result rows, which we wouldn't want. In the future, behaviour should maybe be to refuse to process URLs that aren't clean (eg, if base_url != clean_url(base_url)) and return a 'bad-url' status or soemthing. Then we would only accept clean URLs in both tables, and clear out all old/bad URLs with a cleanup script.
* ingest_file: --no-spn2 flag for single commandBryan Newbold2020-03-101-1/+6
|
* helpful daily/weekly monitoring SQL queriesBryan Newbold2020-03-101-0/+94
|
* sandcrawler schema: add MD5 indexBryan Newbold2020-03-051-0/+1
|
* more unpaywall ingest notesBryan Newbold2020-03-051-0/+416
|
* ingestrequest_row2json: skip on unicode errorsBryan Newbold2020-03-051-1/+4
|
* fixes to ingest-request persistBryan Newbold2020-03-052-4/+2
|
* persist: ingest_request tool (with no ingest_file_result)Bryan Newbold2020-03-053-1/+48
|
* ingest_tool: force-recrawl argBryan Newbold2020-03-051-0/+5
|
* ia: catch wayback ChunkedEncodingErrorBryan Newbold2020-03-051-0/+3
|
* ingest: make content-decoding more robustBryan Newbold2020-03-031-1/+2
|
* update (and move) ingest notesBryan Newbold2020-03-036-0/+480
|
* make gzip content-encoding path more robustBryan Newbold2020-03-031-1/+10
|
* ingest: crude content-encoding supportBryan Newbold2020-03-021-1/+19
| | | | | | This perhaps should be handled in IA wrapper tool directly, instead of in ingest code. Or really, possibly a bug in wayback python library or SPN?
* ingest: add force_recrawl flag to skip historical wayback lookupBryan Newbold2020-03-022-3/+6
|
* more SQL queriesBryan Newbold2020-03-021-0/+57
|
* remove protocols.io octet-stream hackBryan Newbold2020-03-021-6/+2
|
* more mime normalizationBryan Newbold2020-02-271-1/+18
|
* ingest: narrow xhtml filterBryan Newbold2020-02-251-1/+1
|
* pdftrio: tweaks to avoid connection errorsBryan Newbold2020-02-241-1/+9
|
* fix warc_offset -> offsetBryan Newbold2020-02-241-1/+1
|
* ingest: handle broken revisit recordsBryan Newbold2020-02-241-1/+4
|
* recent sandcrawler-db / ingest stats (interesting)Bryan Newbold2020-02-242-0/+488
|
* ingest: handle missing chemrxvi tagBryan Newbold2020-02-241-1/+1
|
* ingest: treat CDX lookup error as a wayback-errorBryan Newbold2020-02-241-1/+4
|
* ingest: more direct americanarchivist PDF url guessBryan Newbold2020-02-241-0/+4
|
* ingest backfill notesBryan Newbold2020-02-243-0/+150
|
* ingest: make ehp.niehs.nih.gov rule more robustBryan Newbold2020-02-241-2/+3
|
* small tweak to americanarchivist.org URL extractionBryan Newbold2020-02-241-1/+1
|
* fetch_petabox_body: allow non-200 status code fetchesBryan Newbold2020-02-241-2/+10
| | | | | | But only if it matches what the revisit record indicated. This is mostly to enable better revisit fetching.
* allow fuzzy revisit matchesBryan Newbold2020-02-241-1/+26
|
* ingest: more revisit fixesBryan Newbold2020-02-221-4/+4
|
* html: more publisher-specific fulltext extraction tricksBryan Newbold2020-02-221-0/+47
|
* ia: improve warc/revisit implementationBryan Newbold2020-02-221-26/+46
| | | | | A lot of the terminal-bad-status seems to have due to not handling revisits correctly. They have status_code = '-' or None.
* html: degruyter extraction; disabled journals.lww.comBryan Newbold2020-02-221-0/+19
|
* ingest: include better terminal URL/status_code/dtBryan Newbold2020-02-221-0/+8
| | | | Was getting a lot of "last hit" metadata for these columns.
* ingest: skip more non-pdf, non-paper domainsBryan Newbold2020-02-221-0/+9
|
* cdx: handle empty/null CDX responseBryan Newbold2020-02-221-0/+2
| | | | Sometimes seem to get empty string instead of empty JSON list
* html: handle TypeError during bs4 parseBryan Newbold2020-02-221-1/+7
|
* filter out CDX rows missing WARC playback fieldsBryan Newbold2020-02-191-0/+4
|
* pdf_trio persist fixes from prodBryan Newbold2020-02-192-5/+9
|
* allow <meta property=citation_pdf_url>Bryan Newbold2020-02-181-0/+3
| | | | at least researchgate does this (!)
* X-Archive-Src more robust than X-Archive-Redirect-ReasonBryan Newbold2020-02-181-2/+3
|
* move edit_extra path to top-levelBryan Newbold2020-02-181-2/+1
|
* wayback: on bad redirects, log instead of assertBryan Newbold2020-02-181-2/+13
| | | | This is a different form of mangled redirect.
* attempt to work around corrupt ARC files from alexa issueBryan Newbold2020-02-181-0/+5
|
* unpaywall2ingestrequest transform scriptBryan Newbold2020-02-182-1/+104
|
* pdftrio: mode controlled by CLI argBryan Newbold2020-02-182-10/+14
|
* pdftrio: fix error nesting in pdftrio keyBryan Newbold2020-02-181-12/+20
|