2015-10-04 04:13:50 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2017-02-23 20:58:39 +01:00
|
|
|
# Copyright 2015-2017 Mike Fährmann
|
2015-10-04 04:13:50 +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.
|
|
|
|
|
2017-04-20 13:20:41 +02:00
|
|
|
"""Extract images from https://www.deviantart.com/"""
|
2015-10-04 04:13:50 +02:00
|
|
|
|
2017-01-12 21:08:49 +01:00
|
|
|
from .common import Extractor, Message
|
|
|
|
from .. import text, exception
|
|
|
|
from ..cache import cache
|
2017-03-08 16:40:20 +01:00
|
|
|
import time
|
2017-04-03 18:23:13 +02:00
|
|
|
import re
|
2015-10-04 04:13:50 +02:00
|
|
|
|
2017-01-12 21:08:49 +01:00
|
|
|
|
2017-04-03 14:56:47 +02:00
|
|
|
class DeviantartExtractor(Extractor):
|
|
|
|
"""Base class for deviantart extractors"""
|
2015-11-21 04:26:30 +01:00
|
|
|
category = "deviantart"
|
2017-05-10 16:45:45 +02:00
|
|
|
directory_fmt = ["{category}", "{author[username]}"]
|
2015-11-21 04:26:30 +01:00
|
|
|
filename_fmt = "{category}_{index}_{title}.{extension}"
|
|
|
|
|
2017-04-03 14:56:47 +02:00
|
|
|
def __init__(self):
|
2017-01-12 21:08:49 +01:00
|
|
|
Extractor.__init__(self)
|
2017-03-08 16:40:20 +01:00
|
|
|
self.api = DeviantartAPI(self)
|
2017-03-13 21:42:16 +01:00
|
|
|
self.offset = 0
|
|
|
|
|
|
|
|
def skip(self, num):
|
|
|
|
self.offset += num
|
|
|
|
return num
|
2015-10-04 04:13:50 +02:00
|
|
|
|
|
|
|
def items(self):
|
2017-05-10 16:45:45 +02:00
|
|
|
last_author = None
|
2015-10-04 04:13:50 +02:00
|
|
|
yield Message.Version, 1
|
2017-04-03 14:56:47 +02:00
|
|
|
for deviation in self.deviations():
|
2017-04-03 18:23:13 +02:00
|
|
|
self.prepare(deviation)
|
2017-05-10 16:45:45 +02:00
|
|
|
|
|
|
|
try:
|
|
|
|
author = deviation["author"]
|
|
|
|
except KeyError:
|
|
|
|
author = None
|
|
|
|
deviation["author"] = {"username": "", "userid": "",
|
|
|
|
"usericon": "", "type": ""}
|
|
|
|
if author != last_author:
|
|
|
|
yield Message.Directory, deviation
|
|
|
|
last_author = author
|
|
|
|
|
|
|
|
if "content" in deviation:
|
|
|
|
yield self.commit(deviation, deviation["content"])
|
|
|
|
|
|
|
|
if "videos" in deviation:
|
|
|
|
video = max(deviation["videos"],
|
|
|
|
key=lambda x: int(x["quality"][:-1]))
|
|
|
|
yield self.commit(deviation, video)
|
|
|
|
|
|
|
|
if "flash" in deviation:
|
|
|
|
yield self.commit(deviation, deviation["flash"])
|
|
|
|
|
|
|
|
if "excerpt" in deviation:
|
|
|
|
dev = self.api.deviation_content(deviation["deviationid"])
|
|
|
|
deviation["extension"] = "htm"
|
|
|
|
|
2017-05-10 17:21:33 +02:00
|
|
|
if "css" in dev:
|
|
|
|
css = dev["css"]
|
|
|
|
cssclass = "withskin"
|
|
|
|
else:
|
|
|
|
css = ""
|
|
|
|
cssclass = "journal-green"
|
|
|
|
|
2017-05-10 16:45:45 +02:00
|
|
|
html = JOURNAL_TEMPLATE.format(
|
|
|
|
title=text.escape(deviation["title"]),
|
|
|
|
html=dev["html"],
|
2017-05-10 17:21:33 +02:00
|
|
|
css=css,
|
|
|
|
cls=cssclass,
|
2017-05-10 16:45:45 +02:00
|
|
|
)
|
|
|
|
yield Message.Url, html, deviation
|
|
|
|
|
|
|
|
if "html" in deviation:
|
|
|
|
self.log.info("skipping journal")
|
2017-04-03 14:56:47 +02:00
|
|
|
|
|
|
|
def deviations(self):
|
|
|
|
"""Return an iterable containing all relevant Deviation-objects"""
|
|
|
|
return []
|
|
|
|
|
2017-04-03 18:23:13 +02:00
|
|
|
@staticmethod
|
|
|
|
def prepare(deviation):
|
|
|
|
"""Adjust the contents of a Deviation-object"""
|
2017-05-10 16:45:45 +02:00
|
|
|
for key in ("stats", "preview", "thumbs"):
|
|
|
|
if key in deviation:
|
|
|
|
del deviation[key]
|
|
|
|
try:
|
|
|
|
deviation["index"] = deviation["url"].rsplit("-", 1)[1]
|
|
|
|
except KeyError:
|
|
|
|
deviation["index"] = 0
|
2017-04-03 18:23:13 +02:00
|
|
|
|
2017-05-10 16:45:45 +02:00
|
|
|
@staticmethod
|
|
|
|
def commit(deviation, target):
|
|
|
|
url = target["src"]
|
|
|
|
deviation["target"] = text.nameext_from_url(url, target.copy())
|
|
|
|
deviation["extension"] = deviation["target"]["extension"]
|
|
|
|
return Message.Url, url, deviation
|
2017-04-03 14:56:47 +02:00
|
|
|
|
2017-05-10 16:45:45 +02:00
|
|
|
|
|
|
|
class DeviantartGalleryExtractor(DeviantartExtractor):
|
|
|
|
"""Extractor for all deviations from an artist's gallery"""
|
|
|
|
subcategory = "gallery"
|
2017-05-10 17:21:33 +02:00
|
|
|
pattern = [r"(?:https?://)?([^.]+)\.deviantart\.com(?:/gallery)?/?$"]
|
2017-04-03 14:56:47 +02:00
|
|
|
test = [("http://shimoda7.deviantart.com/gallery/", {
|
|
|
|
"url": "63bfa8efba199e27181943c9060f6770f91a8441",
|
2017-05-10 16:45:45 +02:00
|
|
|
"keyword": "b02f5487481142ca44c22542333191aa2cdfb7ee",
|
2015-12-13 04:36:44 +01:00
|
|
|
})]
|
2015-12-06 21:13:57 +01:00
|
|
|
|
|
|
|
def __init__(self, match):
|
2017-04-03 14:56:47 +02:00
|
|
|
DeviantartExtractor.__init__(self)
|
|
|
|
self.user = match.group(1)
|
2015-12-06 21:13:57 +01:00
|
|
|
|
2017-04-03 14:56:47 +02:00
|
|
|
def deviations(self):
|
|
|
|
return self.api.gallery_all(self.user, self.offset)
|
2016-11-06 10:44:50 +01:00
|
|
|
|
|
|
|
|
2017-05-10 16:45:45 +02:00
|
|
|
class DeviantartDeviationExtractor(DeviantartExtractor):
|
|
|
|
"""Extractor for single deviations"""
|
|
|
|
subcategory = "deviation"
|
2017-05-10 17:21:33 +02:00
|
|
|
pattern = [(r"(?:https?://)?([^\.]+\.deviantart\.com/"
|
|
|
|
r"(?:art|journal)/[^/?&#]+-\d+)"),
|
2017-04-17 11:52:16 +02:00
|
|
|
r"(?:https?://)?(sta\.sh/[a-z0-9]+)"]
|
2017-04-03 14:56:47 +02:00
|
|
|
test = [
|
|
|
|
(("http://shimoda7.deviantart.com/art/"
|
|
|
|
"For-the-sake-of-a-memory-10073852"), {
|
|
|
|
"url": "71345ce3bef5b19bd2a56d7b96e6b5ddba747c2e",
|
2017-05-10 16:45:45 +02:00
|
|
|
"keyword": "655b09c8719e40f623050df23cc7877093f0a449",
|
2017-04-03 14:56:47 +02:00
|
|
|
"content": "6a7c74dc823ebbd457bdd9b3c2838a6ee728091e",
|
|
|
|
}),
|
|
|
|
("https://zzz.deviantart.com/art/zzz-1234567890", {
|
|
|
|
"exception": exception.NotFoundError,
|
|
|
|
}),
|
2017-04-17 11:52:16 +02:00
|
|
|
("http://sta.sh/01ijs78ebagf", {
|
|
|
|
"url": "1692cd075059d24657a01b954413c84a56e2de8f",
|
2017-05-10 16:45:45 +02:00
|
|
|
"keyword": "d62ba4e75bccf250672d06ab49c64c44a275e4f2",
|
2017-04-17 11:52:16 +02:00
|
|
|
}),
|
|
|
|
("http://sta.sh/abcdefghijkl", {
|
|
|
|
"exception": exception.NotFoundError,
|
|
|
|
}),
|
2017-04-03 14:56:47 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
def __init__(self, match):
|
|
|
|
DeviantartExtractor.__init__(self)
|
|
|
|
self.url = "https://" + match.group(1)
|
|
|
|
|
|
|
|
def deviations(self):
|
|
|
|
response = self.session.get(self.url)
|
|
|
|
deviation_id = text.extract(response.text, '//deviation/', '"')[0]
|
|
|
|
if response.status_code != 200 or not deviation_id:
|
|
|
|
raise exception.NotFoundError("image")
|
|
|
|
return (self.api.deviation(deviation_id),)
|
2017-01-12 21:08:49 +01:00
|
|
|
|
|
|
|
|
2017-04-20 13:20:41 +02:00
|
|
|
class DeviantartFavoriteExtractor(DeviantartExtractor):
|
2017-05-10 16:45:45 +02:00
|
|
|
"""Extractor for an artist's favourites"""
|
2017-04-20 13:20:41 +02:00
|
|
|
subcategory = "favorite"
|
2017-04-03 18:23:13 +02:00
|
|
|
directory_fmt = ["{category}", "{subcategory}",
|
|
|
|
"{collection[owner]} - {collection[title]}"]
|
|
|
|
pattern = [r"(?:https?://)?([^\.]+)\.deviantart\.com/favourites"
|
2017-05-06 21:26:27 +02:00
|
|
|
r"(?:/((\d+)/([^/?]+)|\?catpath=/))?"]
|
2017-04-03 18:23:13 +02:00
|
|
|
test = [
|
2017-05-06 14:56:41 +02:00
|
|
|
("http://rosuuri.deviantart.com/favourites/58951174/Useful", {
|
2017-05-10 16:45:45 +02:00
|
|
|
"url": "2545427f52012a8b9b07c95ca5c91002d5bf4f18",
|
|
|
|
"keyword": "7ba0e75aeeb0f51541c4a2411410f8e3b3717641",
|
2017-05-06 21:26:27 +02:00
|
|
|
}),
|
2017-04-03 18:23:13 +02:00
|
|
|
("http://h3813067.deviantart.com/favourites/", {
|
|
|
|
"url": "71345ce3bef5b19bd2a56d7b96e6b5ddba747c2e",
|
2017-05-10 16:45:45 +02:00
|
|
|
"keyword": "5469fc8c4701b13a9ca1c8b0450c6ac47c7f0e85",
|
2017-04-03 18:23:13 +02:00
|
|
|
"content": "6a7c74dc823ebbd457bdd9b3c2838a6ee728091e",
|
|
|
|
}),
|
|
|
|
]
|
|
|
|
|
|
|
|
def __init__(self, match):
|
|
|
|
DeviantartExtractor.__init__(self)
|
2017-05-06 21:26:27 +02:00
|
|
|
self.user, path, self.favid, self.favname = match.groups()
|
2017-04-03 18:23:13 +02:00
|
|
|
if not self.favname:
|
2017-05-06 21:26:27 +02:00
|
|
|
if path == "?catpath=/":
|
|
|
|
self.favname = "All"
|
|
|
|
self.deviations = self._deviations_all
|
|
|
|
else:
|
|
|
|
self.favname = "Featured"
|
2017-04-03 18:23:13 +02:00
|
|
|
self.collection = {
|
|
|
|
"owner": self.user,
|
|
|
|
"title": self.favname,
|
|
|
|
"index": self.favid or 0,
|
|
|
|
}
|
|
|
|
|
|
|
|
def deviations(self):
|
|
|
|
regex = re.compile(self.favname.replace("-", ".") + "$")
|
|
|
|
for folder in self.api.collections_folders(self.user):
|
|
|
|
if regex.match(folder["name"]):
|
|
|
|
self.collection["title"] = folder["name"]
|
2017-05-10 16:45:45 +02:00
|
|
|
return self.api.collections(
|
2017-04-03 18:23:13 +02:00
|
|
|
self.user, folder["folderid"], self.offset)
|
|
|
|
raise exception.NotFoundError("collection")
|
|
|
|
|
2017-05-06 21:26:27 +02:00
|
|
|
def _deviations_all(self):
|
|
|
|
import itertools
|
|
|
|
return itertools.chain.from_iterable([
|
2017-05-10 16:45:45 +02:00
|
|
|
self.api.collections(self.user, folder["folderid"], self.offset)
|
2017-05-06 21:26:27 +02:00
|
|
|
for folder in self.api.collections_folders(self.user)
|
|
|
|
])
|
|
|
|
|
2017-04-03 18:23:13 +02:00
|
|
|
def prepare(self, deviation):
|
|
|
|
DeviantartExtractor.prepare(deviation)
|
|
|
|
deviation["collection"] = self.collection
|
|
|
|
|
|
|
|
|
2017-05-10 17:21:33 +02:00
|
|
|
class DeviantartJournalExtractor(DeviantartExtractor):
|
|
|
|
"""Extractor for single deviations"""
|
|
|
|
subcategory = "journal"
|
|
|
|
pattern = [r"(?:https?://)?([^.]+)\.deviantart\.com/journal/?$"]
|
|
|
|
test = [("http://shimoda7.deviantart.com/journal/", {
|
|
|
|
"url": "05204bddf5ebba330d73cec76bcd55b1249c6159",
|
|
|
|
"keyword": "8434f8bdd4b38634e206c8689a0906ac10c3fa77",
|
|
|
|
})]
|
|
|
|
|
|
|
|
def __init__(self, match):
|
|
|
|
DeviantartExtractor.__init__(self)
|
|
|
|
self.user = match.group(1)
|
|
|
|
|
|
|
|
def deviations(self):
|
|
|
|
return self.api.browse_user_journals(self.user, self.offset)
|
|
|
|
|
|
|
|
|
2017-01-12 21:08:49 +01:00
|
|
|
class DeviantartAPI():
|
|
|
|
"""Minimal interface for the deviantart API"""
|
2017-03-08 16:40:20 +01:00
|
|
|
def __init__(self, extractor, client_id="5388",
|
2017-01-12 21:08:49 +01:00
|
|
|
client_secret="76b08c69cfb27f26d6161f9ab6d061a1"):
|
2017-03-08 16:40:20 +01:00
|
|
|
self.session = extractor.session
|
|
|
|
self.session.headers["dA-minor-version"] = "20160316"
|
|
|
|
self.log = extractor.log
|
2017-01-12 21:08:49 +01:00
|
|
|
self.client_id = client_id
|
|
|
|
self.client_secret = client_secret
|
2017-03-08 16:40:20 +01:00
|
|
|
self.delay = 0
|
2017-05-10 16:45:45 +02:00
|
|
|
self.mature = extractor.config("mature", "true")
|
2017-05-06 21:26:27 +02:00
|
|
|
if not isinstance(self.mature, str):
|
|
|
|
self.mature = "true" if self.mature else "false"
|
2017-01-12 21:08:49 +01:00
|
|
|
|
2017-05-10 17:21:33 +02:00
|
|
|
def browse_user_journals(self, username, offset=0):
|
|
|
|
"""Yield all journal entries of a specific user"""
|
|
|
|
endpoint = "browse/user/journals"
|
|
|
|
params = {"username": username, "offset": offset, "limit": 10,
|
|
|
|
"mature_content": self.mature, "featured": "false"}
|
|
|
|
return self._pagination(endpoint, params)
|
|
|
|
|
2017-05-10 16:45:45 +02:00
|
|
|
def collections(self, username, folder_id, offset=0):
|
|
|
|
"""Yield all Deviation-objects contained in a collection folder"""
|
|
|
|
endpoint = "collections/" + folder_id
|
2017-05-06 14:56:41 +02:00
|
|
|
params = {"username": username, "offset": offset, "limit": 10,
|
2017-05-06 21:26:27 +02:00
|
|
|
"mature_content": self.mature}
|
2017-04-03 14:56:47 +02:00
|
|
|
return self._pagination(endpoint, params)
|
|
|
|
|
|
|
|
def collections_folders(self, username, offset=0):
|
|
|
|
"""Yield all collection folders of a specific user"""
|
|
|
|
endpoint = "collections/folders"
|
2017-05-06 14:56:41 +02:00
|
|
|
params = {"username": username, "offset": offset, "limit": 10,
|
2017-05-06 21:26:27 +02:00
|
|
|
"mature_content": self.mature}
|
2017-04-03 14:56:47 +02:00
|
|
|
return self._pagination(endpoint, params)
|
|
|
|
|
2017-05-10 16:45:45 +02:00
|
|
|
def deviation(self, deviation_id):
|
|
|
|
"""Query and return info about a single Deviation"""
|
|
|
|
endpoint = "deviation/" + deviation_id
|
|
|
|
return self._call(endpoint)
|
|
|
|
|
|
|
|
def deviation_content(self, deviation_id):
|
|
|
|
"""Query and return info about a single Deviation"""
|
|
|
|
endpoint = "deviation/content"
|
|
|
|
params = {"deviationid": deviation_id}
|
|
|
|
return self._call(endpoint, params)
|
|
|
|
|
|
|
|
def gallery_all(self, username, offset=0):
|
|
|
|
"""Yield all Deviation-objects of a specific user"""
|
|
|
|
endpoint = "gallery/all"
|
2017-05-06 14:56:41 +02:00
|
|
|
params = {"username": username, "offset": offset, "limit": 10,
|
2017-05-06 21:26:27 +02:00
|
|
|
"mature_content": self.mature}
|
2017-04-03 14:56:47 +02:00
|
|
|
return self._pagination(endpoint, params)
|
2017-01-12 21:08:49 +01:00
|
|
|
|
|
|
|
def authenticate(self):
|
2017-04-03 14:56:47 +02:00
|
|
|
"""Authenticate the application by requesting an access token"""
|
|
|
|
access_token = self._authenticate_impl(
|
2017-01-12 21:08:49 +01:00
|
|
|
self.client_id, self.client_secret
|
|
|
|
)
|
2017-04-03 14:56:47 +02:00
|
|
|
self.session.headers["Authorization"] = access_token
|
2017-01-12 21:08:49 +01:00
|
|
|
|
|
|
|
@cache(maxage=3600, keyarg=1)
|
|
|
|
def _authenticate_impl(self, client_id, client_secret):
|
2017-03-08 16:40:20 +01:00
|
|
|
"""Actual authenticate implementation"""
|
2017-01-12 21:08:49 +01:00
|
|
|
url = "https://www.deviantart.com/oauth2/token"
|
|
|
|
data = {
|
|
|
|
"grant_type": "client_credentials",
|
|
|
|
"client_id": client_id,
|
|
|
|
"client_secret": client_secret,
|
|
|
|
}
|
|
|
|
response = self.session.post(url, data=data)
|
|
|
|
if response.status_code != 200:
|
2017-03-08 16:40:20 +01:00
|
|
|
raise exception.AuthenticationError()
|
2017-01-12 21:08:49 +01:00
|
|
|
return "Bearer " + response.json()["access_token"]
|
2017-03-08 16:40:20 +01:00
|
|
|
|
2017-04-03 14:56:47 +02:00
|
|
|
def _call(self, endpoint, params=None):
|
2017-03-08 16:40:20 +01:00
|
|
|
"""Call an API endpoint"""
|
2017-04-03 14:56:47 +02:00
|
|
|
url = "https://www.deviantart.com/api/v1/oauth2/" + endpoint
|
2017-03-13 21:42:16 +01:00
|
|
|
tries = 1
|
2017-03-08 16:40:20 +01:00
|
|
|
while True:
|
|
|
|
if self.delay:
|
|
|
|
time.sleep(self.delay)
|
|
|
|
|
2017-03-13 21:42:16 +01:00
|
|
|
self.authenticate()
|
2017-03-08 16:40:20 +01:00
|
|
|
response = self.session.get(url, params=params)
|
|
|
|
|
|
|
|
if response.status_code == 200:
|
|
|
|
break
|
|
|
|
elif response.status_code == 429:
|
|
|
|
self.delay += 1
|
|
|
|
self.log.debug("rate limit (delay: %d)", self.delay)
|
|
|
|
else:
|
|
|
|
self.delay = 1
|
2017-03-13 21:42:16 +01:00
|
|
|
self.log.debug("http status code %d (%d/3)",
|
|
|
|
response.status_code, tries)
|
2017-03-08 16:40:20 +01:00
|
|
|
tries += 1
|
2017-03-13 21:42:16 +01:00
|
|
|
if tries > 3:
|
2017-03-08 16:40:20 +01:00
|
|
|
raise Exception(response.text)
|
|
|
|
try:
|
|
|
|
return response.json()
|
|
|
|
except ValueError:
|
|
|
|
return {}
|
2017-04-03 14:56:47 +02:00
|
|
|
|
|
|
|
def _pagination(self, endpoint, params=None):
|
|
|
|
while True:
|
|
|
|
data = self._call(endpoint, params)
|
|
|
|
if "results" in data:
|
|
|
|
yield from data["results"]
|
|
|
|
if not data["has_more"]:
|
|
|
|
return
|
|
|
|
params["offset"] = data["next_offset"]
|
|
|
|
else:
|
|
|
|
self.log.error("Unexpected API response: %s", data)
|
|
|
|
return
|
2017-05-10 16:45:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
JOURNAL_TEMPLATE = """text://<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>{title}</title>
|
|
|
|
<link rel="stylesheet" href="http://st.deviantart.net/\
|
|
|
|
css/deviantart-network_lc.css?3843780832">
|
|
|
|
<link rel="stylesheet" href="http://st.deviantart.net/\
|
|
|
|
css/group_secrets_lc.css?3250492874">
|
|
|
|
<link rel="stylesheet" href="http://st.deviantart.net/\
|
|
|
|
css/v6core_lc.css?4246581581">
|
|
|
|
<link rel="stylesheet" href="http://st.deviantart.net/\
|
|
|
|
css/sidebar_lc.css?1490570941">
|
|
|
|
<link rel="stylesheet" href="http://st.deviantart.net/\
|
|
|
|
css/writer_lc.css?3090682151">
|
|
|
|
<link rel="stylesheet" href="http://st.deviantart.net/\
|
|
|
|
css/v6loggedin_lc.css?3001430805">
|
|
|
|
<style>{css}</style>
|
|
|
|
<link rel="stylesheet" href="http://st.deviantart.net/\
|
|
|
|
roses/cssmin/core.css?1488405371919" >
|
|
|
|
<link rel="stylesheet" href="http://st.deviantart.net/\
|
|
|
|
roses/cssmin/peeky.css?1487067424177" >
|
|
|
|
<link rel="stylesheet" href="http://st.deviantart.net/\
|
|
|
|
roses/cssmin/desktop.css?1491362542749" >
|
|
|
|
</head>
|
|
|
|
<body id="deviantART-v7" class="bubble no-apps loggedout w960 deviantart">
|
|
|
|
<div id="output">
|
|
|
|
<div class="dev-page-container bubbleview">
|
|
|
|
<div class="dev-page-view view-mode-normal">
|
|
|
|
<div class="dev-view-main-content">
|
|
|
|
<div class="dev-view-deviation">
|
|
|
|
<div class="journal-wrapper tt-a">
|
|
|
|
<div class="journal-wrapper2">
|
2017-05-10 17:21:33 +02:00
|
|
|
<div class="journal {cls}">
|
2017-05-10 16:45:45 +02:00
|
|
|
{html}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
"""
|