Skip to content

Commit

Permalink
Move json-to-raw-url.sh to src/
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimPwnz committed Jun 14, 2022
1 parent eb81822 commit 2e9302d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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 `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 `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.

## Example Usage

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

## Why is this so useful?
Expand Down
File renamed without changes.

0 comments on commit 2e9302d

Please sign in to comment.