2018-08-01 21:46:55 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2023-01-07 14:45:56 +01:00
|
|
|
# Copyright 2018-2023 Mike Fährmann
|
2018-08-01 21:46:55 +02:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License version 2 as
|
|
|
|
# published by the Free Software Foundation.
|
|
|
|
|
2023-01-07 14:45:56 +01:00
|
|
|
"""Extractors for https://www.behance.net/"""
|
2018-08-01 21:46:55 +02:00
|
|
|
|
|
|
|
from .common import Extractor, Message
|
2023-08-17 15:31:37 +02:00
|
|
|
from .. import text, util, exception
|
2018-08-01 21:46:55 +02:00
|
|
|
|
|
|
|
|
2018-08-31 17:40:44 +02:00
|
|
|
class BehanceExtractor(Extractor):
|
|
|
|
"""Base class for behance extractors"""
|
2018-08-01 21:46:55 +02:00
|
|
|
category = "behance"
|
2018-08-31 17:40:44 +02:00
|
|
|
root = "https://www.behance.net"
|
2023-01-07 14:45:56 +01:00
|
|
|
request_interval = (2.0, 4.0)
|
2018-08-31 17:40:44 +02:00
|
|
|
|
2023-08-18 14:48:20 +02:00
|
|
|
def _init(self):
|
|
|
|
self._bcp = self.cookies.get("bcp", domain="www.behance.net")
|
|
|
|
if not self._bcp:
|
|
|
|
self._bcp = "4c34489d-914c-46cd-b44c-dfd0e661136d"
|
|
|
|
self.cookies.set("bcp", self._bcp, domain="www.behance.net")
|
|
|
|
|
2019-01-19 18:11:20 +01:00
|
|
|
def items(self):
|
|
|
|
for gallery in self.galleries():
|
2019-02-12 21:26:41 +01:00
|
|
|
gallery["_extractor"] = BehanceGalleryExtractor
|
2019-01-31 12:32:05 +01:00
|
|
|
yield Message.Queue, gallery["url"], self._update(gallery)
|
2019-01-19 18:11:20 +01:00
|
|
|
|
|
|
|
def galleries(self):
|
|
|
|
"""Return all relevant gallery URLs"""
|
|
|
|
|
2023-08-17 16:06:35 +02:00
|
|
|
def _request_graphql(self, endpoint, variables):
|
|
|
|
url = self.root + "/v3/graphql"
|
|
|
|
headers = {
|
2023-09-18 23:50:25 +02:00
|
|
|
"Origin": self.root,
|
|
|
|
"X-BCP" : self._bcp,
|
2023-08-17 16:06:35 +02:00
|
|
|
"X-Requested-With": "XMLHttpRequest",
|
|
|
|
}
|
|
|
|
data = {
|
|
|
|
"query" : GRAPHQL_QUERIES[endpoint],
|
|
|
|
"variables": variables,
|
|
|
|
}
|
|
|
|
|
|
|
|
return self.request(url, method="POST", headers=headers,
|
2023-08-18 14:48:20 +02:00
|
|
|
json=data).json()["data"]
|
2023-08-17 16:06:35 +02:00
|
|
|
|
|
|
|
def _update(self, data):
|
2019-01-31 12:32:05 +01:00
|
|
|
# compress data to simple lists
|
2019-07-27 14:26:40 +02:00
|
|
|
if data["fields"] and isinstance(data["fields"][0], dict):
|
2020-10-11 01:44:07 +02:00
|
|
|
data["fields"] = [
|
|
|
|
field.get("name") or field.get("label")
|
|
|
|
for field in data["fields"]
|
|
|
|
]
|
2023-08-17 16:06:35 +02:00
|
|
|
|
2020-10-11 01:44:07 +02:00
|
|
|
data["owners"] = [
|
|
|
|
owner.get("display_name") or owner.get("displayName")
|
|
|
|
for owner in data["owners"]
|
|
|
|
]
|
2019-10-03 17:36:02 +02:00
|
|
|
|
|
|
|
tags = data.get("tags") or ()
|
|
|
|
if tags and isinstance(tags[0], dict):
|
|
|
|
tags = [tag["title"] for tag in tags]
|
|
|
|
data["tags"] = tags
|
2019-01-19 18:11:20 +01:00
|
|
|
|
2023-08-17 15:33:47 +02:00
|
|
|
data["date"] = text.parse_timestamp(
|
|
|
|
data.get("publishedOn") or data.get("conceived_on") or 0)
|
|
|
|
|
2019-01-31 12:32:05 +01:00
|
|
|
# backwards compatibility
|
|
|
|
data["gallery_id"] = data["id"]
|
|
|
|
data["title"] = data["name"]
|
|
|
|
data["user"] = ", ".join(data["owners"])
|
|
|
|
|
|
|
|
return data
|
2019-01-19 18:11:20 +01:00
|
|
|
|
2018-08-31 17:40:44 +02:00
|
|
|
|
|
|
|
class BehanceGalleryExtractor(BehanceExtractor):
|
|
|
|
"""Extractor for image galleries from www.behance.net"""
|
2018-08-01 21:46:55 +02:00
|
|
|
subcategory = "gallery"
|
2019-02-08 13:45:40 +01:00
|
|
|
directory_fmt = ("{category}", "{owners:J, }", "{id} {name}")
|
2019-01-31 12:32:05 +01:00
|
|
|
filename_fmt = "{category}_{id}_{num:>02}.{extension}"
|
|
|
|
archive_fmt = "{id}_{num}"
|
2019-02-08 13:45:40 +01:00
|
|
|
pattern = r"(?:https?://)?(?:www\.)?behance\.net/gallery/(\d+)"
|
2023-09-11 16:30:55 +02:00
|
|
|
example = "https://www.behance.net/gallery/12345/TITLE"
|
2018-08-01 21:46:55 +02:00
|
|
|
|
|
|
|
def __init__(self, match):
|
2019-02-11 13:31:10 +01:00
|
|
|
BehanceExtractor.__init__(self, match)
|
2018-08-01 21:46:55 +02:00
|
|
|
self.gallery_id = match.group(1)
|
|
|
|
|
|
|
|
def items(self):
|
2019-01-31 12:32:05 +01:00
|
|
|
data = self.get_gallery_data()
|
|
|
|
imgs = self.get_images(data)
|
2018-08-01 21:46:55 +02:00
|
|
|
data["count"] = len(imgs)
|
|
|
|
|
|
|
|
yield Message.Directory, data
|
2019-01-31 12:32:05 +01:00
|
|
|
for data["num"], (url, module) in enumerate(imgs, 1):
|
|
|
|
data["module"] = module
|
|
|
|
data["extension"] = text.ext_from_url(url)
|
|
|
|
yield Message.Url, url, data
|
|
|
|
|
|
|
|
def get_gallery_data(self):
|
|
|
|
"""Collect gallery info dict"""
|
|
|
|
url = "{}/gallery/{}/a".format(self.root, self.gallery_id)
|
|
|
|
cookies = {
|
|
|
|
"gki": '{"feature_project_view":false,'
|
|
|
|
'"feature_discover_login_prompt":false,'
|
|
|
|
'"feature_project_login_prompt":false}',
|
|
|
|
"ilo0": "true",
|
2018-08-01 21:46:55 +02:00
|
|
|
}
|
2019-01-31 12:32:05 +01:00
|
|
|
page = self.request(url, cookies=cookies).text
|
2018-08-01 21:46:55 +02:00
|
|
|
|
2023-02-07 23:14:53 +01:00
|
|
|
data = util.json_loads(text.extr(
|
2022-11-04 23:39:38 +01:00
|
|
|
page, 'id="beconfig-store_state">', '</script>'))
|
2019-01-31 12:32:05 +01:00
|
|
|
return self._update(data["project"]["project"])
|
|
|
|
|
2021-01-29 21:27:55 +01:00
|
|
|
def get_images(self, data):
|
2019-02-02 14:41:05 +01:00
|
|
|
"""Extract image results from an API response"""
|
2023-08-17 15:31:37 +02:00
|
|
|
if not data["modules"]:
|
|
|
|
access = data.get("matureAccess")
|
|
|
|
if access == "logged-out":
|
|
|
|
raise exception.AuthorizationError(
|
2023-08-18 14:48:20 +02:00
|
|
|
"Mature content galleries require logged-in cookies")
|
2023-08-17 15:31:37 +02:00
|
|
|
if access == "restricted-safe":
|
|
|
|
raise exception.AuthorizationError(
|
|
|
|
"Mature content blocked in account settings")
|
|
|
|
if access and access != "allowed":
|
|
|
|
raise exception.AuthorizationError()
|
|
|
|
return ()
|
|
|
|
|
2019-11-27 01:04:33 +01:00
|
|
|
result = []
|
|
|
|
append = result.append
|
2018-08-01 21:46:55 +02:00
|
|
|
|
2019-01-31 12:32:05 +01:00
|
|
|
for module in data["modules"]:
|
2023-04-29 16:18:35 +02:00
|
|
|
mtype = module["__typename"]
|
2018-08-01 21:46:55 +02:00
|
|
|
|
2023-04-29 16:18:35 +02:00
|
|
|
if mtype == "ImageModule":
|
|
|
|
url = module["imageSizes"]["size_original"]["url"]
|
2019-11-27 01:04:33 +01:00
|
|
|
append((url, module))
|
|
|
|
|
2023-04-29 16:18:35 +02:00
|
|
|
elif mtype == "VideoModule":
|
2023-09-12 20:53:35 +02:00
|
|
|
try:
|
|
|
|
renditions = module["videoData"]["renditions"]
|
|
|
|
except Exception:
|
|
|
|
self.log.warning("No download URLs for video %s",
|
|
|
|
module.get("id") or "???")
|
|
|
|
continue
|
|
|
|
|
2023-04-29 16:18:35 +02:00
|
|
|
try:
|
|
|
|
url = [
|
|
|
|
r["url"] for r in renditions
|
|
|
|
if text.ext_from_url(r["url"]) != "m3u8"
|
|
|
|
][-1]
|
|
|
|
except Exception as exc:
|
|
|
|
self.log.debug("%s: %s", exc.__class__.__name__, exc)
|
|
|
|
url = "ytdl:" + renditions[-1]["url"]
|
2023-09-12 20:53:35 +02:00
|
|
|
|
2021-01-29 21:27:55 +01:00
|
|
|
append((url, module))
|
|
|
|
|
2023-04-29 16:18:35 +02:00
|
|
|
elif mtype == "MediaCollectionModule":
|
2019-11-27 01:04:33 +01:00
|
|
|
for component in module["components"]:
|
2023-04-30 13:53:51 +02:00
|
|
|
for size in component["imageSizes"].values():
|
2023-04-29 16:18:35 +02:00
|
|
|
if size:
|
|
|
|
parts = size["url"].split("/")
|
|
|
|
parts[4] = "source"
|
|
|
|
append(("/".join(parts), module))
|
|
|
|
break
|
|
|
|
|
|
|
|
elif mtype == "EmbedModule":
|
|
|
|
embed = module.get("originalEmbed") or module.get("fluidEmbed")
|
2019-11-27 01:04:33 +01:00
|
|
|
if embed:
|
2022-11-04 23:39:38 +01:00
|
|
|
append(("ytdl:" + text.extr(embed, 'src="', '"'), module))
|
2019-01-31 12:32:05 +01:00
|
|
|
|
2019-11-27 01:04:33 +01:00
|
|
|
return result
|
2018-08-31 17:40:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
class BehanceUserExtractor(BehanceExtractor):
|
|
|
|
"""Extractor for a user's galleries from www.behance.net"""
|
|
|
|
subcategory = "user"
|
2018-10-09 23:40:49 +02:00
|
|
|
categorytransfer = True
|
2020-10-22 23:12:59 +02:00
|
|
|
pattern = r"(?:https?://)?(?:www\.)?behance\.net/([^/?#]+)/?$"
|
2023-09-11 16:30:55 +02:00
|
|
|
example = "https://www.behance.net/USER"
|
2018-08-31 17:40:44 +02:00
|
|
|
|
|
|
|
def __init__(self, match):
|
2019-02-11 13:31:10 +01:00
|
|
|
BehanceExtractor.__init__(self, match)
|
2018-08-31 17:40:44 +02:00
|
|
|
self.user = match.group(1)
|
|
|
|
|
2019-01-19 18:11:20 +01:00
|
|
|
def galleries(self):
|
2023-08-17 16:06:35 +02:00
|
|
|
endpoint = "GetProfileProjects"
|
|
|
|
variables = {
|
|
|
|
"username": self.user,
|
2023-09-11 16:30:55 +02:00
|
|
|
"after" : "MAo=", # "0" in base64
|
2023-08-17 16:06:35 +02:00
|
|
|
}
|
2019-01-31 12:32:05 +01:00
|
|
|
|
|
|
|
while True:
|
2023-08-17 16:06:35 +02:00
|
|
|
data = self._request_graphql(endpoint, variables)
|
|
|
|
items = data["user"]["profileProjects"]
|
|
|
|
yield from items["nodes"]
|
|
|
|
|
|
|
|
if not items["pageInfo"]["hasNextPage"]:
|
2019-01-31 12:32:05 +01:00
|
|
|
return
|
2023-08-17 16:06:35 +02:00
|
|
|
variables["after"] = items["pageInfo"]["endCursor"]
|
2018-08-31 17:40:44 +02:00
|
|
|
|
|
|
|
|
2019-01-19 18:11:20 +01:00
|
|
|
class BehanceCollectionExtractor(BehanceExtractor):
|
|
|
|
"""Extractor for a collection's galleries from www.behance.net"""
|
|
|
|
subcategory = "collection"
|
2019-01-19 20:01:39 +01:00
|
|
|
categorytransfer = True
|
2019-02-08 13:45:40 +01:00
|
|
|
pattern = r"(?:https?://)?(?:www\.)?behance\.net/collection/(\d+)"
|
2023-09-11 16:30:55 +02:00
|
|
|
example = "https://www.behance.net/collection/12345/TITLE"
|
2018-08-31 17:40:44 +02:00
|
|
|
|
2019-01-19 18:11:20 +01:00
|
|
|
def __init__(self, match):
|
2019-02-11 13:31:10 +01:00
|
|
|
BehanceExtractor.__init__(self, match)
|
2019-01-19 18:11:20 +01:00
|
|
|
self.collection_id = match.group(1)
|
|
|
|
|
|
|
|
def galleries(self):
|
2023-08-17 16:06:35 +02:00
|
|
|
endpoint = "GetMoodboardItemsAndRecommendations"
|
|
|
|
variables = {
|
2023-09-11 16:30:55 +02:00
|
|
|
"afterItem": "MAo=", # "0" in base64
|
2023-08-17 16:06:35 +02:00
|
|
|
"firstItem": 40,
|
|
|
|
"id" : int(self.collection_id),
|
|
|
|
"shouldGetItems" : True,
|
|
|
|
"shouldGetMoodboardFields": False,
|
|
|
|
"shouldGetRecommendations": False,
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
2023-08-17 16:06:35 +02:00
|
|
|
|
|
|
|
while True:
|
|
|
|
data = self._request_graphql(endpoint, variables)
|
|
|
|
items = data["moodboard"]["items"]
|
|
|
|
|
|
|
|
for node in items["nodes"]:
|
|
|
|
yield node["entity"]
|
|
|
|
|
|
|
|
if not items["pageInfo"]["hasNextPage"]:
|
|
|
|
return
|
|
|
|
variables["afterItem"] = items["pageInfo"]["endCursor"]
|
|
|
|
|
|
|
|
|
|
|
|
GRAPHQL_QUERIES = {
|
|
|
|
"GetProfileProjects": """\
|
|
|
|
query GetProfileProjects($username: String, $after: String) {
|
|
|
|
user(username: $username) {
|
|
|
|
profileProjects(first: 12, after: $after) {
|
|
|
|
pageInfo {
|
|
|
|
endCursor
|
|
|
|
hasNextPage
|
|
|
|
}
|
|
|
|
nodes {
|
|
|
|
__typename
|
|
|
|
adminFlags {
|
|
|
|
mature_lock
|
|
|
|
privacy_lock
|
|
|
|
dmca_lock
|
|
|
|
flagged_lock
|
|
|
|
privacy_violation_lock
|
|
|
|
trademark_lock
|
|
|
|
spam_lock
|
|
|
|
eu_ip_lock
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
2023-08-17 16:06:35 +02:00
|
|
|
colors {
|
|
|
|
r
|
|
|
|
g
|
|
|
|
b
|
|
|
|
}
|
|
|
|
covers {
|
|
|
|
size_202 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
size_404 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
size_808 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
}
|
|
|
|
features {
|
|
|
|
url
|
|
|
|
name
|
|
|
|
featuredOn
|
|
|
|
ribbon {
|
|
|
|
image
|
|
|
|
image2x
|
|
|
|
image3x
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fields {
|
|
|
|
id
|
|
|
|
label
|
|
|
|
slug
|
|
|
|
url
|
|
|
|
}
|
|
|
|
hasMatureContent
|
|
|
|
id
|
|
|
|
isFeatured
|
|
|
|
isHiddenFromWorkTab
|
|
|
|
isMatureReviewSubmitted
|
|
|
|
isOwner
|
|
|
|
isFounder
|
|
|
|
isPinnedToSubscriptionOverview
|
|
|
|
isPrivate
|
|
|
|
linkedAssets {
|
|
|
|
...sourceLinkFields
|
|
|
|
}
|
|
|
|
linkedAssetsCount
|
|
|
|
sourceFiles {
|
|
|
|
...sourceFileFields
|
|
|
|
}
|
|
|
|
matureAccess
|
|
|
|
modifiedOn
|
|
|
|
name
|
|
|
|
owners {
|
|
|
|
...OwnerFields
|
|
|
|
images {
|
|
|
|
size_50 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
premium
|
|
|
|
publishedOn
|
|
|
|
stats {
|
|
|
|
appreciations {
|
|
|
|
all
|
|
|
|
}
|
|
|
|
views {
|
|
|
|
all
|
|
|
|
}
|
|
|
|
comments {
|
|
|
|
all
|
|
|
|
}
|
|
|
|
}
|
|
|
|
slug
|
|
|
|
tools {
|
|
|
|
id
|
|
|
|
title
|
|
|
|
category
|
|
|
|
categoryLabel
|
|
|
|
categoryId
|
|
|
|
approved
|
|
|
|
url
|
|
|
|
backgroundColor
|
|
|
|
}
|
|
|
|
url
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment sourceFileFields on SourceFile {
|
|
|
|
__typename
|
|
|
|
sourceFileId
|
|
|
|
projectId
|
|
|
|
userId
|
|
|
|
title
|
|
|
|
assetId
|
|
|
|
renditionUrl
|
|
|
|
mimeType
|
|
|
|
size
|
|
|
|
category
|
|
|
|
licenseType
|
|
|
|
unitAmount
|
|
|
|
currency
|
|
|
|
tier
|
|
|
|
hidden
|
|
|
|
extension
|
|
|
|
hasUserPurchased
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment sourceLinkFields on LinkedAsset {
|
|
|
|
__typename
|
|
|
|
name
|
|
|
|
premium
|
|
|
|
url
|
|
|
|
category
|
|
|
|
licenseType
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment OwnerFields on User {
|
|
|
|
displayName
|
|
|
|
hasPremiumAccess
|
|
|
|
id
|
|
|
|
isFollowing
|
|
|
|
isProfileOwner
|
|
|
|
location
|
|
|
|
locationUrl
|
|
|
|
url
|
|
|
|
username
|
|
|
|
availabilityInfo {
|
|
|
|
availabilityTimeline
|
|
|
|
isAvailableFullTime
|
|
|
|
isAvailableFreelance
|
|
|
|
}
|
|
|
|
}
|
|
|
|
""",
|
2020-10-11 01:44:07 +02:00
|
|
|
|
2023-08-17 16:06:35 +02:00
|
|
|
"GetMoodboardItemsAndRecommendations": """\
|
2020-10-11 01:44:07 +02:00
|
|
|
query GetMoodboardItemsAndRecommendations(
|
2021-08-10 00:48:31 +02:00
|
|
|
$id: Int!
|
|
|
|
$firstItem: Int!
|
|
|
|
$afterItem: String
|
|
|
|
$shouldGetRecommendations: Boolean!
|
|
|
|
$shouldGetItems: Boolean!
|
|
|
|
$shouldGetMoodboardFields: Boolean!
|
|
|
|
) {
|
|
|
|
viewer @include(if: $shouldGetMoodboardFields) {
|
|
|
|
isOptedOutOfRecommendations
|
|
|
|
isAdmin
|
|
|
|
}
|
|
|
|
moodboard(id: $id) {
|
|
|
|
...moodboardFields @include(if: $shouldGetMoodboardFields)
|
2020-10-11 01:44:07 +02:00
|
|
|
|
2021-08-10 00:48:31 +02:00
|
|
|
items(first: $firstItem, after: $afterItem) @include(if: $shouldGetItems) {
|
|
|
|
pageInfo {
|
|
|
|
endCursor
|
|
|
|
hasNextPage
|
|
|
|
}
|
|
|
|
nodes {
|
|
|
|
...nodesFields
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-10 00:48:31 +02:00
|
|
|
recommendedItems(first: 80) @include(if: $shouldGetRecommendations) {
|
|
|
|
nodes {
|
|
|
|
...nodesFields
|
|
|
|
fetchSource
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
fragment moodboardFields on Moodboard {
|
|
|
|
id
|
|
|
|
label
|
|
|
|
privacy
|
|
|
|
followerCount
|
|
|
|
isFollowing
|
|
|
|
projectCount
|
|
|
|
url
|
|
|
|
isOwner
|
|
|
|
owners {
|
2023-08-17 16:06:35 +02:00
|
|
|
...OwnerFields
|
2021-08-10 00:48:31 +02:00
|
|
|
images {
|
|
|
|
size_50 {
|
|
|
|
url
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
size_100 {
|
2020-10-11 01:44:07 +02:00
|
|
|
url
|
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
size_115 {
|
2020-10-11 01:44:07 +02:00
|
|
|
url
|
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
size_230 {
|
2020-10-11 01:44:07 +02:00
|
|
|
url
|
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
size_138 {
|
2020-10-11 01:44:07 +02:00
|
|
|
url
|
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
size_276 {
|
2020-10-11 01:44:07 +02:00
|
|
|
url
|
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment projectFields on Project {
|
2023-08-17 16:06:35 +02:00
|
|
|
__typename
|
2021-08-10 00:48:31 +02:00
|
|
|
id
|
|
|
|
isOwner
|
|
|
|
publishedOn
|
|
|
|
matureAccess
|
|
|
|
hasMatureContent
|
|
|
|
modifiedOn
|
|
|
|
name
|
|
|
|
url
|
|
|
|
isPrivate
|
|
|
|
slug
|
|
|
|
license {
|
|
|
|
license
|
|
|
|
description
|
|
|
|
id
|
|
|
|
label
|
|
|
|
url
|
|
|
|
text
|
|
|
|
images
|
|
|
|
}
|
|
|
|
fields {
|
|
|
|
label
|
|
|
|
}
|
|
|
|
colors {
|
|
|
|
r
|
|
|
|
g
|
|
|
|
b
|
|
|
|
}
|
|
|
|
owners {
|
2023-08-17 16:06:35 +02:00
|
|
|
...OwnerFields
|
2021-08-10 00:48:31 +02:00
|
|
|
images {
|
|
|
|
size_50 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
size_100 {
|
2020-10-11 01:44:07 +02:00
|
|
|
url
|
|
|
|
}
|
|
|
|
size_115 {
|
|
|
|
url
|
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
size_230 {
|
|
|
|
url
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
size_138 {
|
|
|
|
url
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
size_276 {
|
|
|
|
url
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
covers {
|
|
|
|
size_original {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
size_max_808 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
size_808 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
size_404 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
size_202 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
size_230 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
size_115 {
|
|
|
|
url
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stats {
|
|
|
|
views {
|
|
|
|
all
|
|
|
|
}
|
|
|
|
appreciations {
|
|
|
|
all
|
|
|
|
}
|
|
|
|
comments {
|
|
|
|
all
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment exifDataValueFields on exifDataValue {
|
|
|
|
id
|
|
|
|
label
|
|
|
|
value
|
|
|
|
searchValue
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment nodesFields on MoodboardItem {
|
|
|
|
id
|
|
|
|
entityType
|
|
|
|
width
|
|
|
|
height
|
|
|
|
flexWidth
|
|
|
|
flexHeight
|
|
|
|
images {
|
|
|
|
size
|
|
|
|
url
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
|
|
|
|
2021-08-10 00:48:31 +02:00
|
|
|
entity {
|
|
|
|
... on Project {
|
|
|
|
...projectFields
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
|
|
|
|
2021-08-10 00:48:31 +02:00
|
|
|
... on ImageModule {
|
|
|
|
project {
|
2020-10-11 01:44:07 +02:00
|
|
|
...projectFields
|
|
|
|
}
|
|
|
|
|
2021-08-10 00:48:31 +02:00
|
|
|
colors {
|
|
|
|
r
|
|
|
|
g
|
|
|
|
b
|
|
|
|
}
|
2020-10-11 01:44:07 +02:00
|
|
|
|
2021-08-10 00:48:31 +02:00
|
|
|
exifData {
|
|
|
|
lens {
|
|
|
|
...exifDataValueFields
|
|
|
|
}
|
|
|
|
software {
|
|
|
|
...exifDataValueFields
|
|
|
|
}
|
|
|
|
makeAndModel {
|
|
|
|
...exifDataValueFields
|
|
|
|
}
|
|
|
|
focalLength {
|
|
|
|
...exifDataValueFields
|
|
|
|
}
|
|
|
|
iso {
|
|
|
|
...exifDataValueFields
|
|
|
|
}
|
|
|
|
location {
|
|
|
|
...exifDataValueFields
|
|
|
|
}
|
|
|
|
flash {
|
|
|
|
...exifDataValueFields
|
|
|
|
}
|
|
|
|
exposureMode {
|
|
|
|
...exifDataValueFields
|
|
|
|
}
|
|
|
|
shutterSpeed {
|
|
|
|
...exifDataValueFields
|
|
|
|
}
|
|
|
|
aperture {
|
|
|
|
...exifDataValueFields
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
}
|
2020-10-11 01:44:07 +02:00
|
|
|
|
2021-08-10 00:48:31 +02:00
|
|
|
... on MediaCollectionComponent {
|
|
|
|
project {
|
|
|
|
...projectFields
|
2020-10-11 01:44:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-08-10 00:48:31 +02:00
|
|
|
}
|
2019-01-31 12:32:05 +01:00
|
|
|
|
2023-08-17 16:06:35 +02:00
|
|
|
fragment OwnerFields on User {
|
|
|
|
displayName
|
|
|
|
hasPremiumAccess
|
|
|
|
id
|
|
|
|
isFollowing
|
|
|
|
isProfileOwner
|
|
|
|
location
|
|
|
|
locationUrl
|
|
|
|
url
|
|
|
|
username
|
|
|
|
availabilityInfo {
|
|
|
|
availabilityTimeline
|
|
|
|
isAvailableFullTime
|
|
|
|
isAvailableFreelance
|
|
|
|
}
|
|
|
|
}
|
|
|
|
""",
|
2020-10-11 01:44:07 +02:00
|
|
|
|
2023-08-17 16:06:35 +02:00
|
|
|
}
|