Commit e3f3cbee authored by Stefan Karner's avatar Stefan Karner

Remove main

parent cfd5adfd
...@@ -261,16 +261,3 @@ class WebarchivSession: ...@@ -261,16 +261,3 @@ class WebarchivSession:
} }
) )
return r return r
if __name__ == '__main__':
# noinspection SpellCheckingInspection
w = WebarchivSession('2pm8i0hnmpcTK4Oj4CUeBoZd7vywrm4c')
# response = w.wayback_search("http://www.onb.ac.at")
# response = w.wayback_search("http://frauenhetz.jetzt")
#response = w.histogram_search("Nationalbibliothek Prunksaal Schwarzenegger")
response = w.savePage("http://www.onb.ac.at")
if response.status_code == 201:
print(response.json())
else:
print("Error ", response.status_code)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment