: & /work/kodiak/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/example-tiles/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ -mthumb -mfpu=neon -mfloa> NOTE: VERBOSE=1 cmake -build /work/kodiak/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/example-tiles/1.0-r0/example-tiles-1.0/ -target all. NOTE: example-tiles: compiling from external source tree /home/src/example-tiles/tile-serverĭEBUG: Python function externalsrc_compile_prefunc finishedĭEBUG: Executing shell function do_compile ![]() VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) """īut i don't want to change the structure everytime when i scrapingĭEBUG: Executing python function externalsrc_compile_prefunc #scrap_db = nnect(host='localhost',user='root',password='1234',database='autoscout',charset='utf8mb4',cursorclass=) i have just replaced my firts codes to something like this. If ad_link not in make_model_ads_data.values:ĭata = get_ad_data(ad_link = ad_link, sleep_time = 0)īy the way if i use my 2. #ad_link = make_model_ads_data_latest #BAK Len_of_links = len(make_model_ads_data_latest)Īd_link = make_model_ads_data_latest Print(cursor.rowcount, "Record inserted successfully into CARFINAL table") Tuple_of_tuples = tuple(tuple(x) for x in chunk)Ĭursor.executemany(mySql_insert_query, tuple_of_tuples) ![]() ![]() MySql_insert_query = """INSERT INTO CARFINAL #scrap_db = nnect(host='localhost',user='root',password='****',database='autoscout',charset='utf8mb4',cursorclass=) # cursor.execute('DROP TABLE IF EXISTS CARFINAL')
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |