[pinterest] add extractors for related pins
Related pins can not be accessed by adding a "#related" fragment to the end of a Pinterest URL, for example: - https://www.pinterest.com/pin/858146903966145189/#related - https://www.pinterest.com/g1952849/test-/#related There are no explicit real URLs for related pins, using an option to enable them results in "clunky" code, and a custom "related:<URL>" scheme doesn't feel right either.
This commit is contained in:
@@ -76,6 +76,8 @@ SUBCATEGORY_MAP = {
|
||||
"tag" : "Tag-Searches",
|
||||
"user" : "Images from Users",
|
||||
"work" : "Individual Images",
|
||||
"related-pin" : "related Pins",
|
||||
"related-board": "",
|
||||
}
|
||||
|
||||
AUTH_MAP = {
|
||||
@@ -238,7 +240,7 @@ columns = [
|
||||
for extrlist in extractors
|
||||
], 35),
|
||||
RstColumn("Capabilities", [
|
||||
", ".join(extr.subcat for extr in extrlist)
|
||||
", ".join(extr.subcat for extr in extrlist if extr.subcat)
|
||||
for extrlist in extractors
|
||||
], 50),
|
||||
RstColumn("Authentication", [
|
||||
|
||||
Reference in New Issue
Block a user