/tmp/ipwb$ coverage run -m pytest
=================================== test session starts ===================================
platform linux -- Python 3.8.2, pytest-6.0.1, py-1.9.0, pluggy-0.13.1
rootdir: /tmp/ipwb, configfile: setup.cfg
plugins: flake8-1.0.6, cov-2.10.1
collected 121 items
tests/test_backends.py ..... [ 4%]
tests/test_compile_target_uri.py .. [ 5%]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
from random import randrange | |
class RandomLines(): | |
def __init__(self, fname): | |
self._fname = fname |
$ ls
Dockerfile linkextractor.py
$ cat linkextractor.py
#!/usr/bin/env python
import sys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# A script to download TimeMaps of a Twitter handle in various language variants. | |
# | |
# ./twitter-timemap-lang-downloader.sh <TwitterHandle> [<OutputDir>] | |
# | |
# Author: Sawood Alam <@ibnesayeed> | |
if [ $# -eq 0 ] | |
then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.cs.odu.edu/~salam/presentations/HTTPMethodSupport.pdf | |
https://www.cs.odu.edu/~salam/presentations/WebARChiveFileFormat.pdf | |
https://www.cs.odu.edu/~salam/httpmailbox/presentation.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM oduwsdl/ipwb | |
ENV WARC=ipwb/samples/warcs/5mementos.warc | |
CMD ipfs daemon & while ! curl -s localhost:5001 > /dev/null; do sleep 1; done && ipwb index $WARC | ipwb replay |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM oduwsdl/ipwb | |
CMD ipfs daemon & while ! curl -s localhost:5001 > /dev/null; do sleep 1; done && ipwb index ipwb/samples/warcs/5mementos.warc | ipwb replay |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DateTime Archive Status Language URIM | |
20070312000128 IA 200 en http://web.archive.org/web/20070312000128/http://twitter.com:80/BarackObama | |
20070312000213 IA 200 en http://web.archive.org/web/20070312000213/http://twitter.com:80/barackobama | |
20070320110428 IA 200 en http://web.archive.org/web/20070320110428/http://twitter.com:80/BarackObama | |
20070429014820 IA 200 en http://web.archive.org/web/20070429014820/http://twitter.com:80/barackobama | |
20070505120209 IA 200 en http://web.archive.org/web/20070505120209/http://twitter.com:80/BarackObama | |
20070513015443 IA 200 en http://web.archive.org/web/20070513015443/http://twitter.com:80/BarackObama | |
20070513141310 IA 200 en http://web.archive.org/web/20070513141310/http://twitter.com:80/BarackObama | |
20070514045148 IA 200 en http://web.archive.org/web/20070514045148/http://twitter.com:80/BarackObama | |
20070524090236 IA 200 en http://web.archive.org/web/20070524090236/http://twitter.com:80/BarackObama |
NewerOlder