Jason преди 1 година
родител
ревизия
95c189bf9f
променени са 2 файла, в които са добавени 18 реда и са изтрити 0 реда
  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=')
     print(len([ds]))
     for c in ds:
+        c['json'] = c['json'].replace("'",'"') # supabase is strict af when it comes to quotes tbh
         print(c['json'])
         js=json.loads(c['json'])
         prefix=js['prefix']