Skip to content

Commit 8bd5f9a

Browse files
committed
refactoring.
1 parent ee0448a commit 8bd5f9a

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ download?doi=*
3434
url?sa=*
3535
index.html?reload*
3636
stamp.jsp*
37+
wget-log
3738

3839
.idea

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ Tag for topic, e.g.: `algorithms`, `artificial-intelligence`, `blockchain`, `com
5454

5555
## CLI utils
5656

57-
- `check_dead_links.py`: check if the urls are alive.
57+
- `scripts/check_dead_links.py`: check if the urls are alive.
5858
In `deadlinks.tsv` you will find the log of the unsuccessful requests.
5959

60-
- `dump.py`: download the entire websites/files associated to the URLs.
60+
- `scripts/dump.py`: download the entire websites/files associated to the URLs.
61+
62+
Run them from the root of the repository.
6163

6264
## Credits
6365

check_dead_links.py renamed to scripts/check_dead_links.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python3
2+
13
import requests
24
import concurrent.futures
35
import logging

dump.py renamed to scripts/dump.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!usr/bin/env python3
2+
13
import logging
24
import multiprocessing
35
import os

items.py renamed to scripts/items.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Copyright (C) Fetch.ai 2018 - All Rights Reserved
2-
# Unauthorized copying of this file, via any medium is strictly prohibited
3-
# Proprietary and confidential
41
from typing import List
52

63

0 commit comments

Comments
 (0)