generated from rochacbruno/python-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial DockerhubDockerRegistrySpider scraping logic for the search page
- Loading branch information
1 parent
0bb9f3d
commit 6c83142
Showing
7 changed files
with
312 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from .spiders.dockerhub import DockerhubDockerRegistrySpider | ||
from .spiders.quay import QuayDockerRegistrySpider | ||
|
||
__all__ = ['DockerhubDockerRegistrySpider', 'QuayDockerRegistrySpider'] |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import scrapy | ||
|
||
|
||
class QuayDockerRegistrySpider(scrapy.Spider): | ||
name = "quayDockerRegistry" | ||
|
||
def parse(self, response): | ||
# TODO: Extract data from Quay.io search results | ||
item = {} |