Skip to content
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

Can't figure out how to make sequence #897

Open
Twi-Hard opened this issue Apr 12, 2024 · 4 comments
Open

Can't figure out how to make sequence #897

Twi-Hard opened this issue Apr 12, 2024 · 4 comments

Comments

@Twi-Hard
Copy link

I've tried for many hours now to configure pywb to first try my collection of warcs, then fallback to archive.org then fallback to the live web. The documentation makes it seem like it should be possible but I can't figure it out at all. Does anybody know how? Thanks :)

@tw4l
Copy link
Member

tw4l commented Apr 12, 2024

Hi @Twi-Hard, have you looked at this part of the pywb documentation?

https://pywb.readthedocs.io/en/latest/manual/warcserver.html?highlight=fallback#sequential-fallback-collections

Let us know if something is unclear or missing!

@tw4l
Copy link
Member

tw4l commented Apr 12, 2024

If it's not clear from the context, the collection sequence should be configured in your config.yaml file.

@Twi-Hard
Copy link
Author

I guess it does work. What confused me is I couldn't enter a random URL and have it load even if it wasn't archived locally. I know now it just lets you go to pages not archived locally after visiting a site that was archived locally. When testing by trying to access a site I didn't have it seemed like the config did nothing.

Is it possible to make it let me go to any site with the search bar thingy without needing to go to a site I have locally first?

@Twi-Hard
Copy link
Author

Twi-Hard commented Apr 14, 2024

It seems I can only access things from the first collection mentioned in the sequence but I have multiple collections so I can't access much of my archive with this config. I need a way for it to fallback to my second collection if the first collection doesn't have the site I'm looking for.

To clarify: The search doesn't show things not in the first collection. It seems the fallback works once I'm already on a site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants