These are chat archives for mirumee/saleor

14th
Aug 2018
Lebzanwa
@Lebzanwa
Aug 14 2018 00:25
Hi guys.. does anyone know, how to pull info/data from a different website? scrapping?
Николай Инкогнито
@mmmsvit_gitlab
Aug 14 2018 08:16
@Lebzanwa in commands present populatedb, you can simple debug create products.
Patryk Zawadzki
@patrys
Aug 14 2018 08:22
@Lebzanwa you could use a separate process running https://scrapy.org/ to either write to the database directly or to feed the API
keep in mind that scraping violates Terms of Service of many sites
NyanKiyoshi
@NyanKiyoshi
Aug 14 2018 08:38
@patrys that's true, still used to Python2
Николай Инкогнито
@mmmsvit_gitlab
Aug 14 2018 10:23
python 3 work with: https://lxml.de/parsing.html - the fastest, https://www.crummy.com/software/BeautifulSoup/bs4/doc/ - easest for new uesrs but slow, or Selenium - for browser parse use (usefull for dynamics sites, can use for bots). P.S. - from my exp.
Николай Инкогнито
@mmmsvit_gitlab
Aug 14 2018 13:08
can eny explaine how activate GoogleAuth ? i try http://dl4.joxi.net/drive/2018/08/14/0002/0003/143363/63/249f6d7a38.jpg
249f6d7a38.jpg
249f6d7a38.jpg
NyanKiyoshi
@NyanKiyoshi
Aug 14 2018 15:22
@mmmsvit_gitlab try going into the site settings, and add the keys in the Authorization keys section. That's the proper way for Saleor
NyanKiyoshi
@NyanKiyoshi
Aug 14 2018 15:41
Is this the error you get?
Николай Инкогнито
@mmmsvit_gitlab
Aug 14 2018 15:44
settiings dashboard.... dont know why but i dont understand what it it keys)))) i add key to google console and now all work fine!) Yet one question: are possible off email auth for customers? script will be work?
are any sense to store google keys in database?)
googleauth*
NyanKiyoshi
@NyanKiyoshi
Aug 14 2018 15:47
You do can disable the login form, by editing the login view and adjusting templates/account/partials/login_form.html
Николай Инкогнито
@mmmsvit_gitlab
Aug 14 2018 15:51
many th!