Download data/diffs/s05.diff from AriaAICompany/code-review-lab: direct link, hf CLI and curl.
- Browser
- Download file 306 Bytes
-
https://huggingface.co/datasets/AriaAICompany/code-review-lab/resolve/main/data/diffs/s05.diff
- Command line
-
hf download hf://datasets/AriaAICompany/code-review-lab/data/diffs/s05.diff
-
curl -L -o s05.diff https://huggingface.co/datasets/AriaAICompany/code-review-lab/resolve/main/data/diffs/s05.diff
306 Bytes
| diff --git a/fetch-proxy/preview.py b/fetch-proxy/preview.py | |
| --- a/fetch-proxy/preview.py | |
| +++ b/fetch-proxy/preview.py | |
| """Lab URL preview for fetch-proxy. Synthetic.""" | |
| +import urllib.request | |
| + | |
| def preview(url): | |
| - return url | |
| + return urllib.request.urlopen(url).read() | |