-
Notifications
You must be signed in to change notification settings - Fork 191
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
Wildcard searching #17
base: master
Are you sure you want to change the base?
Conversation
waybackpack/pack.py
Outdated
self.parsed_url.netloc, | ||
path_head | ||
) | ||
|
||
filepath = os.path.join(filedir, path_tail) | ||
filepath = os.path.join(filedir, | ||
','.join((path_tail, asset.timestamp))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of these change to the path are because I found it more convenient, for my own purposes, to have different versions of the same resource name in the same file. I can make a version that keeps your current, separate directory, behavior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, interesting. I'd prefer to keep the current, separate-directory behavior. But I'm curious: What makes the other way more convenient for your purposes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
p.s., Thanks! This seems to be a really elegant solution.
K, this should be good to merge. |
Hi @fgregg and apologies for the radio silence. I actually do like this approach! I've been working on a new version that integrates the bulk of your PR (with a few tweaks), but have gotten distracted by other things. Thanks for the nudge! |
@jsvine Any updates on this?
Any updates on this? Would you like it implemented in a different way? |
Hi @Joey-Einerhand, unfortunately there are no major updates on this. I ran into some operating-system-appeasing issues, got stumped, and haven't fully revisited. |
This PR enables wildcard url fetches from wayback machine.