Skip to content

Commit

Permalink
Rename 'src' to 'scripts'
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimPwnz committed Jun 14, 2022
1 parent 2e9302d commit e08d0e8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Scripts for the purposes of scraping Sourcegraph search results. Script `src/json-to-raw-url.sh` extracts raw GitHub file URLs from [src-cli](https://github.com/sourcegraph/src-cli/), and `src/github_downloader.py` downloads all the files from GitHub.
Scripts for the purposes of scraping Sourcegraph search results. Script `scripts/json-to-raw-url.sh` extracts raw GitHub file URLs from [src-cli](https://github.com/sourcegraph/src-cli/), and `scripts/github_downloader.py` downloads all the files from GitHub.

## Example Usage

```sh
$ src search -stream -json '${{github.event.comment.body}} file:.github/workflows COUNT:100000' | ./src/json-to-raw-url.sh | python3 src/github_downloader.py
$ src search -stream -json '${{github.event.comment.body}} file:.github/workflows COUNT:100000' | ./scripts/json-to-raw-url.sh | python3 scripts/github_downloader.py
```

## Why is this so useful?
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion src/github_downloader.py → scripts/github_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import sys

from aiopath import AsyncPath

from utils import create_client, setup_logging


Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit e08d0e8

Please sign in to comment.