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

Archive additional wiki resources (WIP) #223

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PiRSquared17
Copy link
Member

You can test with:

python dumpgenerator.py --resources dir http://memory-alpha.org

or --resources warc

This change is not documented well and ugly, just a proof of concept.

@Hydriz Hydriz changed the title Save resources (work in progress) Archive additional wiki resources (WIP) Mar 7, 2015
@Hydriz
Copy link
Member

Hydriz commented Mar 7, 2015

Renamed to avoid confusion between this and reducing resource usage when running the script.

@@ -1200,7 +1206,7 @@ def getParameters(params=[]):
sys.exit(1)

# No download params and no meta info params? Exit
if (not args.xml and not args.images) and \
if (not args.xml and not args.images and args.resources == 'html') and \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and not?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kept html as the default though (the same as the current version which saves only index.html). This is because the other settings don't remove the IP address (yet).

@nemobis
Copy link
Member

nemobis commented Mar 30, 2015

When this is done, I'd like to start a new round of downloads over the 2600 todo wikis.

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

Successfully merging this pull request may close these issues.

None yet

3 participants