|  | @@ -791,7 +791,7 @@ class SpApiRequest:
 | 
											
												
													
														|  |      def listing_infoTable(cls):
 |  |      def listing_infoTable(cls):
 | 
											
												
													
														|  |          conn = SpApiRequest.mysql_connect_auth_lst()
 |  |          conn = SpApiRequest.mysql_connect_auth_lst()
 | 
											
												
													
														|  |          cursor = conn.cursor()
 |  |          cursor = conn.cursor()
 | 
											
												
													
														|  | -        cursor.execute(f"""select seller_id,country_code,asin,title from asj_ads.seller_listings where title is not null and title <>'' and (seller_id,country_code,asin) not in (select seller_id,country_code,asin from asj_ads.Goods where update_time>='{datetime.today().date()}') group by seller_id,title,country_code,asin""")
 |  | 
 | 
											
												
													
														|  | 
 |  | +        cursor.execute(f"""select seller_id,country_code,asin,title from asj_ads.seller_listings where title is not null and title <>'' and (seller_id,country_code,asin) not in (select seller_id,countryCode,asin from asj_ads.Goods where update_time>='{datetime.today().date()}') group by seller_id,title,country_code,asin""")
 | 
											
												
													
														|  |          query_ = cursor.fetchall()
 |  |          query_ = cursor.fetchall()
 | 
											
												
													
														|  |          # print(query_)
 |  |          # print(query_)
 | 
											
												
													
														|  |          col_name = [i[0] for i in cursor.description]
 |  |          col_name = [i[0] for i in cursor.description]
 | 
											
										
											
												
													
														|  | @@ -1015,7 +1015,7 @@ class SpApiRequest:
 | 
											
												
													
														|  |                  if e.args[0][0]['code']=='InvalidInput':
 |  |                  if e.args[0][0]['code']=='InvalidInput':
 | 
											
												
													
														|  |                      return ''
 |  |                      return ''
 | 
											
												
													
														|  |                  print('first time to try...')
 |  |                  print('first time to try...')
 | 
											
												
													
														|  | -                time.sleep(5)
 |  | 
 | 
											
												
													
														|  | 
 |  | +                time.sleep(15)
 | 
											
												
													
														|  |                  SpApiRequest.data_judge(refresh_token,sp_api, data_type, seller_id, auth_conn,days=days,**a_kw)
 |  |                  SpApiRequest.data_judge(refresh_token,sp_api, data_type, seller_id, auth_conn,days=days,**a_kw)
 | 
											
												
													
														|  |              except Exception as e:
 |  |              except Exception as e:
 | 
											
												
													
														|  |                  print(e)
 |  |                  print(e)
 | 
											
										
											
												
													
														|  | @@ -1071,6 +1071,7 @@ class SpApiRequest:
 | 
											
												
													
														|  |                          ## sp_api.GET_FLAT_FILE_OPEN_LISTINGS_DATA(auth_conn, seller_id)
 |  |                          ## sp_api.GET_FLAT_FILE_OPEN_LISTINGS_DATA(auth_conn, seller_id)
 | 
											
												
													
														|  |                      except Exception as e:
 |  |                      except Exception as e:
 | 
											
												
													
														|  |                          print(e)
 |  |                          print(e)
 | 
											
												
													
														|  | 
 |  | +                    time.sleep(3.5)
 | 
											
												
													
														|  |              elif region_circle == 'EU':
 |  |              elif region_circle == 'EU':
 | 
											
												
													
														|  |                  pass
 |  |                  pass
 | 
											
												
													
														|  |                  for marketplace in [Marketplaces.DE,Marketplaces.AE, Marketplaces.BE,  Marketplaces.PL,
 |  |                  for marketplace in [Marketplaces.DE,Marketplaces.AE, Marketplaces.BE,  Marketplaces.PL,
 | 
											
										
											
												
													
														|  | @@ -1085,6 +1086,7 @@ class SpApiRequest:
 | 
											
												
													
														|  |                          ## sp_api.GET_FLAT_FILE_OPEN_LISTINGS_DATA(auth_conn, seller_id)
 |  |                          ## sp_api.GET_FLAT_FILE_OPEN_LISTINGS_DATA(auth_conn, seller_id)
 | 
											
												
													
														|  |                      except Exception as e:
 |  |                      except Exception as e:
 | 
											
												
													
														|  |                          print(e)
 |  |                          print(e)
 | 
											
												
													
														|  | 
 |  | +                    time.sleep(3.5)
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |              else:
 |  |              else:
 | 
											
												
													
														|  |              # if region_circle not in ['NA','EU']:
 |  |              # if region_circle not in ['NA','EU']:
 |