Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/external/internet_archives/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def search_for_url_snapshot(self, url: str) -> InternetArchivesURLMapping:
async def _save_url(self, url: str) -> int:
async with self.session.post(
f"http://web.archive.org/save",
json={
data={
"url": url,
"skip_first_archive": 1
},
Expand Down
2 changes: 1 addition & 1 deletion tests/manual/external/internet_archive/test_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from src.external.internet_archives.client import InternetArchivesClient

BASE_URL = "https://www.muckrock.com/foi/allegheny-county-306/policy-documents-170293/"
BASE_URL = "https://data.birminghamal.gov/dataset/schedule-of-fines-and-fees-for-traffic-violations-equipment-offenses"

@pytest.mark.asyncio
async def test_upload():
Expand Down