2 Commits 436f40241c ... 3d843ed5ee

Auteur SHA1 Bericht Datum
  Jason 3d843ed5ee Merge branch 'master' of http://git.choozmo.com:3000/choozmo/kw_tools 1 jaar geleden
  Jason 95c189bf9f final update 1 jaar geleden
2 gewijzigde bestanden met toevoegingen van 18 en 0 verwijderingen
  1. 17 0
      website_clickjobs/n2nart/README.txt
  2. 1 0
      website_clickjobs/type-V/_execute.py

+ 17 - 0
website_clickjobs/n2nart/README.txt

@@ -0,0 +1,17 @@
+_clickjob.py
+master clickjob file
+
+(CUSTOMER_NAME).py
+clickjob run file
+
+list.txt
+list of URLs to be added to file (used in update_url_list.py)
+
+update_kw.py
+add keywords to DB
+
+update_url.py
+add single URL to DB
+
+update_url_list.py
+add multiple URLs using URLs specified in list (list.txt)

+ 1 - 0
website_clickjobs/type-V/_execute.py

@@ -42,6 +42,7 @@ def pickterm(client): # OLD TABLE NAME: seo.seo_jobs
     #ds=hhhdb.query('select * from seo.seo_articles where cust=')
     #ds=hhhdb.query('select * from seo.seo_articles where cust=')
     print(len([ds]))
     print(len([ds]))
     for c in ds:
     for c in ds:
+        c['json'] = c['json'].replace("'",'"') # supabase is strict af when it comes to quotes tbh
         print(c['json'])
         print(c['json'])
         js=json.loads(c['json'])
         js=json.loads(c['json'])
         prefix=js['prefix']
         prefix=js['prefix']