Small fixes and some tweaks.
This commit is contained in:
1 parent
2404a15ff0
commit
daa41aad63
3 files changed
+15
-6
No files matched your search
@@ -456,7 +456,7 @@ public struct iTunesStore: MetadataService {
|
||||
if let nodes = try? xml.nodes(forXPath: "//li[@class='copyright']") {
|
||||
for node in nodes {
|
||||
if var copyright = node.stringValue {
|
||||
if let range = copyright.range(of: ". All Rights Reserved.", options: .caseInsensitive,
|
||||
if let range = copyright.range(of: ". All Rights Reserved", options: .caseInsensitive,
|
||||
range: copyright.startIndex ..< copyright.endIndex, locale: nil) {
|
||||
copyright.removeSubrange(range)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user