fix: Add change to calculate wget folder when there is a port present

This commit is contained in:
Cristian 2020-07-17 16:55:56 -05:00
parent 58ac44c867
commit 23e6803f02
6 changed files with 19 additions and 16 deletions

View file

@ -1,5 +1,5 @@
from archivebox import util
def test_download_url_downloads_content():
text = util.download_url("http://localhost:8080/static/example.com.html")
text = util.download_url("http://127.0.0.1:8080/static/example.com.html")
assert "Example Domain" in text