Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdipaolo/hub-db
/ types & classes
Types & classes
13 in github.com/cdipaolo/hub-db
⨍
Functions
27
◇
Types & classes
13
Struct
Album
Album corresponds to a image album
model/page.go:12
Struct
BasePage
BasePage corresponds to the most viewed photos page at a given page number
model/page.go:5
Struct
Comment
Comment corresponds to the data structure for a PornHub image comment. It contains simple information about the comments. To not reveal too much info
model/image.go:25
Struct
Configuration
Configuration holds config information necessary to run the PornHub crawler TimeDelaySeconds is the number of seconds to wait between crawling each s
config.go:43
Struct
HealthCheckResponse
HealthCheckResponse returns status info to check if the crawler is working.
model/request.go:5
Struct
Image
Image corresponds to the data structure of image metadata pulled from PornHub. It references popular comments and tags, as well as general info about
model/image.go:9
Class
MRDeriveAlbumDataset
MRDeriveAlbumDataset this MRJob MapReduce job takes the raw_data from crawling pornhub and generates an album specific dataset fromt that
data/process/albums.py:11
Class
MRDeriveCommentsDataset
MRDeriveCommentsDataset this MRJob MapReduce class takes in the images dataset and creates a dataset of comments while still holding onto
data/process/comments.py:6
Class
MRDeriveImageDataset
MRDeriveImageDataset this MRJob MapReduce class takes in the raw_data from crawling pornhub and generates an image specific dataset while
data/process/images.py:12
Class
MRDeriveTagsFrequencies
MRDeriveTagsFrequencies this MRJob MapReduce job takes the albums dataset and generates the frequencies of all tags this MR job doesn
data/process/tag_frequencies.py:6
Class
MRDeriveTagsGraph
MRDeriveTagsGraph this MRJob MapReduce job takes the albums dataset and generates associations between which tags are seen with which othe
data/process/tags.py:6
TypeAlias
Tag
Tag corresponds to generic information about tags (just the name currently to save space)
model/image.go:46
Struct
User
Simple metadata about a user, including their username, number of subscribers, friends, views, etc.
model/image.go:36