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 pathlib import Path | |
import ast | |
from typing import Any, List, Tuple | |
from dataclasses import dataclass, field | |
@dataclass | |
class Dependencies: | |
arguments: List[ast.arg] = field(default_factory=list) | |
variables: List[ast.Name] = field(default_factory=list) |
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
wget \ | |
--recursive \ | |
--no-clobber \ | |
--page-requisites \ | |
--html-extension \ | |
--convert-links \ | |
--restrict-file-names=windows \ | |
--domains <DOMAIN> \ | |
--no-parent <URL> |
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 pathlib import Path | |
from argparse import ArgumentParser, Namespace | |
import tarfile | |
import os | |
import tempfile | |
from tempfile import _TemporaryFileWrapper | |
import json | |
from subprocess import check_output, CalledProcessError | |
OlderNewer