-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: import books from Wikisource #9674
Merged
cdrini
merged 161 commits into
internetarchive:master
from
pidgezero-one:9671/feat/add-wikisource-import-script
Dec 5, 2024
Merged
Changes from 1 commit
Commits
Show all changes
161 commits
Select commit
Hold shift + click to select a range
19d9874
first draft
pidgezero-one f23baad
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 34667e7
linting
pidgezero-one 17575bf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] dca89fb
use a class for imports
pidgezero-one 147784a
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one df423ca
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 604a5d8
mypy fixes
pidgezero-one 34fe390
merge
pidgezero-one a307eca
more linting
pidgezero-one 1fe4e84
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d7f4065
is this deprecated too?
pidgezero-one bcdcdb1
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one c504f6c
is this deprecated too?
pidgezero-one a996e64
is this deprecated too?
pidgezero-one a3c299e
improved data model
pidgezero-one 0f2b113
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e18ba52
reformat name formatter
pidgezero-one 4bdf428
ruff fix
pidgezero-one 57388b4
improve infobox fetching
pidgezero-one 31b2a7f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 9492403
uncomment
pidgezero-one dacef92
merge
pidgezero-one 1186696
remove unnecessary print
pidgezero-one dd82901
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 47b57c8
uncomment imports
pidgezero-one 3c82121
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one 5e58373
better template check:
pidgezero-one 2c268b2
publishers?
pidgezero-one be0d1a8
fix array
pidgezero-one d52c109
unused import
pidgezero-one df683a1
different wiki markup strip
pidgezero-one 8e7cb38
reduce image calls
pidgezero-one 66744ef
unstash
pidgezero-one 5c51bcc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b5e4319
fix newlines
pidgezero-one 34da18d
undo comments
pidgezero-one 76a1724
logger name
pidgezero-one 2ce0e17
fix array typing
pidgezero-one 3645e9e
more cleanup
pidgezero-one 0e9650b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 9663789
dry run outputs to a jsonl file in a gitignored folder
pidgezero-one 8f0810d
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one 2a3e617
add this directory
pidgezero-one 0268018
.
pidgezero-one 99f3c93
Merge branch 'master' into 9671/feat/add-wikisource-import-script
pidgezero-one 5390b54
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b06b60d
.
pidgezero-one d7561f8
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one 3e10c5d
unicode
pidgezero-one 4bd8e54
remove dry run flag
pidgezero-one e445276
this produces around 500 records
pidgezero-one d633c62
wikisource API gives better image results. this script now gets most …
pidgezero-one 4053014
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e1bd982
undo comments
pidgezero-one 62d1798
clearer comments
pidgezero-one 25d9243
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] bbe242f
formatting
pidgezero-one 15aa2b2
formatting
pidgezero-one cae28f9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] cb2a959
condense
pidgezero-one 5cb9dc9
more cleanup
pidgezero-one 5370e41
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b96a07d
more cleanup
pidgezero-one 4d4d091
precommit
pidgezero-one da00d4e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d116d6e
aaaaa
pidgezero-one 8d83830
more false positives, letter filter literally does not work for reaso…
pidgezero-one f7e61c0
this is annoying
pidgezero-one 3018a5f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 878051c
ruff
pidgezero-one 9135ff5
ruff
pidgezero-one 113e6a7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 42c05d0
cmt
pidgezero-one e9fef40
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one 5193267
filters
pidgezero-one 2075f4e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] dbac756
fix
pidgezero-one 916c3ae
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d1683a5
ruff
pidgezero-one 287bfe0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4ad37de
aint no way precommit thinks 'pleas' is a typo
pidgezero-one e8fb019
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one d8452d8
comment clarity
pidgezero-one 0d15c54
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] db5c4a9
fix publishers
pidgezero-one 3c46c9a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 31d84a7
fix WS-side category filtering
pidgezero-one 3dbe7b9
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one d6d303e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] aa73b6b
ruff
pidgezero-one a8fdcfb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 916dabc
clean up some re-request loops
pidgezero-one bb3c30c
clean up some re-request loops
pidgezero-one e28c8cd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f6f6c99
addresses most PR comments
pidgezero-one beaf68c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e6fe169
precommit
pidgezero-one 408da50
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one e7f714b
fetches more author info, not sure how to format it yet
pidgezero-one 8f01b5b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 77b23d8
brackets in wrong placE
pidgezero-one 2aca912
Merge branch 'master' into 9671/feat/add-wikisource-import-script
pidgezero-one 7bfc39b
format that works with /import/api
pidgezero-one 461b02a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 147fab3
wip
pidgezero-one b73b8d1
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one 92065ed
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 0750cb2
?
pidgezero-one 5842e13
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one 83a00f8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] bc31426
precommit errors
pidgezero-one 2e99560
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one cb14b14
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8d4dac0
support author id matching
pidgezero-one 7d85a0f
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one f1b0edd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5b57217
can't get it to work
pidgezero-one 0bd52e8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 05f3644
unnecessary changes
pidgezero-one 12b96f4
idk
pidgezero-one 6a8234c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b9c36e4
it works
pidgezero-one 2fd4569
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one 5a8ea7a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 268f055
wip: support more identifiers
pidgezero-one 60e5d00
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one b6b68f3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e02ae78
fix remote ids
pidgezero-one d7dd818
fix remote ids
pidgezero-one ee00b9a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 0ecba61
comment
pidgezero-one f952c4f
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one 0e2c510
fix wd condition
pidgezero-one 1265681
remote_ids will never be empty in script
pidgezero-one 216cb50
attempt unit tests
pidgezero-one eb8d3d4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d298d39
irrelevant
pidgezero-one 8c17a14
update comment
pidgezero-one 8917ae8
unnecessary change
pidgezero-one a174609
Update openlibrary/components/AuthorIdentifiers.vue
pidgezero-one ad263aa
Update openlibrary/components/AuthorIdentifiers.vue
pidgezero-one ab624f6
Update openlibrary/components/AuthorIdentifiers.vue
pidgezero-one 320be8b
suggested rename
pidgezero-one f07e5fb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 3bfe2d9
why did changing remote_ids to identifiers break tests?
pidgezero-one a0aaf40
Merge branch '9671/feat/add-wikisource-import-script' of https://gith…
pidgezero-one d97921d
fix import key
pidgezero-one 565853b
identifiers
pidgezero-one d84c5fd
identifiers
pidgezero-one f0a1103
move this code
pidgezero-one 8d3fe1f
/
pidgezero-one eea9276
unused imports
pidgezero-one aca95e0
this got moved out by accident
pidgezero-one d3b4767
wtf?
pidgezero-one 2545c12
add another exclusion
pidgezero-one eb3cb40
Merge branch 'master' into 9671/feat/add-wikisource-import-script
pidgezero-one 88648e0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e04b80c
ruff fix
pidgezero-one c55261b
just get birth and death dates for authors to use in import matching
pidgezero-one abb913c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This comment was marked as resolved.
Sorry, something went wrong.