mirror of
https://git.coop/cotech/website.git
synced 2025-06-26 16:40:52 +00:00
Add script to migrate co-op logos
This commit is contained in:
@ -82,6 +82,10 @@ class Coop
|
||||
doc.xpath('/html/body/div/div[2]/div/div/div[2]/section[1]').text.strip
|
||||
end
|
||||
|
||||
def logo
|
||||
doc.xpath('//*[@id="page-banner"]/div/div/a[1]/img/@src').text
|
||||
end
|
||||
|
||||
def erb_binding
|
||||
binding
|
||||
end
|
||||
|
Reference in New Issue
Block a user