Remove 10.9 support.
This commit is contained in:
18 files changed
+54
-118
No files matched your search
@@ -111,7 +111,7 @@ struct SquaredTVArt {
|
||||
private func parse(xml: XMLDocument) -> [SquaredTVArtwork] {
|
||||
guard let nodes = try? xml.nodes(forXPath: "//div[starts-with(@class,'Post ')]") else { return [] }
|
||||
|
||||
return nodes.flatMap { (node) -> SquaredTVArtwork? in
|
||||
return nodes.compactMap { (node) -> SquaredTVArtwork? in
|
||||
if let subXml = try? XMLDocument(xmlString: node.xmlString, options: []),
|
||||
let name = completeName(xml: subXml),
|
||||
let url = thumbURL(xml: subXml),
|
||||
|
||||
Reference in new issue
Block a user