C# write generated data service and sent via websocket, then consume by python periodically

#Server
using System.Net;
using System.Net.WebSockets;
using System.Text;
using System.Text.Json;

namespace ConsoleApp7
{
    public class Program
    {
        static async Task Main(string[] args)
        {
            Console.OutputEncoding = Encoding.UTF8;
            var listener = new HttpListener();
            listener.Prefixes.Add("http://localhost:5000/ws/");
            listener.Start();

            Console.WriteLine($"{DateTime.Now},WebSocket Server started at ws://localhost:5000/ws/");
            while (true)
            {
                var context = await listener.GetContextAsync();

                if (context.Request.IsWebSocketRequest)
                {
                    _ = HandleClient(context);
                }
                else
                {
                    context.Response.StatusCode = 400;
                    context.Response.Close();
                }
            }
        }

        static async Task HandleClient(HttpListenerContext context)
        {
            var wsContext = await context.AcceptWebSocketAsync(null);
            var socket = wsContext.WebSocket;

            Console.WriteLine($"{DateTime.Now},Client connected");

            var buffer = new byte[1024];

            while (socket.State == WebSocketState.Open)
            {
                var result = await socket.ReceiveAsync(buffer, CancellationToken.None);

                if (result.MessageType == WebSocketMessageType.Close)
                {
                    await socket.CloseAsync(WebSocketCloseStatus.NormalClosure, "", CancellationToken.None);
                    break;
                }

                var request = Encoding.UTF8.GetString(buffer, 0, result.Count);
                //Console.WriteLine($"Received: {request}");

                var bksList = GetBooksList();

                var json = JsonSerializer.Serialize(bksList);
                var bytes = Encoding.UTF8.GetBytes(json);

                await socket.SendAsync(bytes, WebSocketMessageType.Text, true, CancellationToken.None);

                var ids = bksList.Select(x => x.Id);
                string msg = $"MinId:{ids.Min()},MaxId:{ids.Max()}";
                Console.WriteLine($"{DateTime.Now.ToString("yyyyMMddHHmmssffff")} sent data,{msg}");
            }
        }

        static int idx = 0;
        static int GetIdx()
        {
            return Interlocked.Increment(ref idx);
        }

        static List<Book> GetBooksList()
        {
            List<Book> bksList = new List<Book>();
            for (int i = 0; i < 10000; i++)
            {
                var a = GetIdx();
                bksList.Add(new Book()
                {
                    Id = a,
                    Name = $"Name_{a}",
                    Author = $"Author_{a}",
                    ISBN = $"ISBN_{a}_{Guid.NewGuid():N}",
                    Comment = $"Comment_{a}",
                    Content = $"Content_{a}",
                    Summary = $"Summary_{a}",
                    Title = $"Title_{a}",
                    Topic = $"Topic_{a}"
                });
            }
            return bksList;
        }
    }

    public class Book
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string ISBN { get; set; }
        public string Author { get; set; }
        public string Comment { get; set; }
        public string Content { get; set; }
        public string Summary { get; set; }
        public string Title { get; set; }
        public string Topic { get; set; }
    }
}

 

 

python -m pip install websockets -i https://pypi.tuna.tsinghua.edu.cn/simple

 

 

image

 

#client
import asyncio
import websockets
import json
from datetime import datetime

WS_URL = "ws://localhost:5000/ws/"

async def fetch_data_periodic():
    async with websockets.connect(WS_URL, max_size=None) as ws:
        print(f'{datetime.now().strftime('%y%m%d%H%M%S%f')},Connected to server')
        sleep_second=0
        is_first=True
        while True:
            try: 
                if is_first:
                    sleep_second=0
                    is_first=False
                else:
                    sleep_second=5
                await asyncio.sleep(sleep_second)

                await ws.send("get_data")
                message = await ws.recv()
                data = json.loads(message)
                print(f"{datetime.now().strftime('%y%m%d%H%M%S%f')},Received records: {len(data)}")
                print(f"First item: {data[0]}\n")

            except Exception as e:
                print("Error:", e)
                break

asyncio.run(fetch_data_periodic())

 

 

 

image

 

260318232516554609,Received records: 10000
First item: {'Id': 20001, 'Name': 'Name_20001', 'ISBN': 'ISBN_20001_e6ffa99f7106493b82b0786b2ae39175', 'Author': 'Author_20001', 'Comment': 'Comment_20001', 'Content': 'Content_20001', 'Summary': 'Summary_20001', 'Title': 'Title_20001', 'Topic': 'Topic_20001'}

260318232521620901,Received records: 10000
First item: {'Id': 30001, 'Name': 'Name_30001', 'ISBN': 'ISBN_30001_c5f46fbf9bdf4532ac9a530267bded51', 'Author': 'Author_30001', 'Comment': 'Comment_30001', 'Content': 'Content_30001', 'Summary': 'Summary_30001', 'Title': 'Title_30001', 'Topic': 'Topic_30001'}

260318232526698897,Received records: 10000
First item: {'Id': 40001, 'Name': 'Name_40001', 'ISBN': 'ISBN_40001_151988b4433348e6b63914ee15713032', 'Author': 'Author_40001', 'Comment': 'Comment_40001', 'Content': 'Content_40001', 'Summary': 'Summary_40001', 'Title': 'Title_40001', 'Topic': 'Topic_40001'}

260318232531774534,Received records: 10000
First item: {'Id': 50001, 'Name': 'Name_50001', 'ISBN': 'ISBN_50001_07a73b0e2026463a9a3d348a9f3e3f81', 'Author': 'Author_50001', 'Comment': 'Comment_50001', 'Content': 'Content_50001', 'Summary': 'Summary_50001', 'Title': 'Title_50001', 'Topic': 'Topic_50001'}

260318232536848861,Received records: 10000
First item: {'Id': 60001, 'Name': 'Name_60001', 'ISBN': 'ISBN_60001_8ee8db069022461095d4d16da3b2297e', 'Author': 'Author_60001', 'Comment': 'Comment_60001', 'Content': 'Content_60001', 'Summary': 'Summary_60001', 'Title': 'Title_60001', 'Topic': 'Topic_60001'}

260318232541912924,Received records: 10000
First item: {'Id': 70001, 'Name': 'Name_70001', 'ISBN': 'ISBN_70001_a773fe494de84f9193ddcca5e70fb9b0', 'Author': 'Author_70001', 'Comment': 'Comment_70001', 'Content': 'Content_70001', 'Summary': 'Summary_70001', 'Title': 'Title_70001', 'Topic': 'Topic_70001'}

260318232546975627,Received records: 10000
First item: {'Id': 80001, 'Name': 'Name_80001', 'ISBN': 'ISBN_80001_c2990c1b76924571a3990495ef3f8445', 'Author': 'Author_80001', 'Comment': 'Comment_80001', 'Content': 'Content_80001', 'Summary': 'Summary_80001', 'Title': 'Title_80001', 'Topic': 'Topic_80001'}

260318232552031296,Received records: 10000
First item: {'Id': 90001, 'Name': 'Name_90001', 'ISBN': 'ISBN_90001_c614c66cd86e4797af5fc073eb149b19', 'Author': 'Author_90001', 'Comment': 'Comment_90001', 'Content': 'Content_90001', 'Summary': 'Summary_90001', 'Title': 'Title_90001', 'Topic': 'Topic_90001'}

260318232557109895,Received records: 10000
First item: {'Id': 100001, 'Name': 'Name_100001', 'ISBN': 'ISBN_100001_5638b635910b44bf8fc8b381613b0871', 'Author': 'Author_100001', 'Comment': 'Comment_100001', 'Content': 'Content_100001', 'Summary': 'Summary_100001', 'Title': 'Title_100001', 'Topic': 'Topic_100001'}

260318232602168468,Received records: 10000
First item: {'Id': 110001, 'Name': 'Name_110001', 'ISBN': 'ISBN_110001_730b547c7ceb45f680ff4f28620b0743', 'Author': 'Author_110001', 'Comment': 'Comment_110001', 'Content': 'Content_110001', 'Summary': 'Summary_110001', 'Title': 'Title_110001', 'Topic': 'Topic_110001'}

260318232607255970,Received records: 10000
First item: {'Id': 120001, 'Name': 'Name_120001', 'ISBN': 'ISBN_120001_04ce510160344e5cafbd60daa713c92a', 'Author': 'Author_120001', 'Comment': 'Comment_120001', 'Content': 'Content_120001', 'Summary': 'Summary_120001', 'Title': 'Title_120001', 'Topic': 'Topic_120001'}

260318232612370966,Received records: 10000
First item: {'Id': 130001, 'Name': 'Name_130001', 'ISBN': 'ISBN_130001_55f313adef434d00b3d7d2108e9eae11', 'Author': 'Author_130001', 'Comment': 'Comment_130001', 'Content': 'Content_130001', 'Summary': 'Summary_130001', 'Title': 'Title_130001', 'Topic': 'Topic_130001'}

260318232617461267,Received records: 10000
First item: {'Id': 140001, 'Name': 'Name_140001', 'ISBN': 'ISBN_140001_80b76af7968742599be096c51286b5ea', 'Author': 'Author_140001', 'Comment': 'Comment_140001', 'Content': 'Content_140001', 'Summary': 'Summary_140001', 'Title': 'Title_140001', 'Topic': 'Topic_140001'}

260318232622580099,Received records: 10000
First item: {'Id': 150001, 'Name': 'Name_150001', 'ISBN': 'ISBN_150001_abe1fe57224e4eedabc58095174a4a0a', 'Author': 'Author_150001', 'Comment': 'Comment_150001', 'Content': 'Content_150001', 'Summary': 'Summary_150001', 'Title': 'Title_150001', 'Topic': 'Topic_150001'}

260318232627657539,Received records: 10000
First item: {'Id': 160001, 'Name': 'Name_160001', 'ISBN': 'ISBN_160001_22642b96445a47019ae8bd0aab695d50', 'Author': 'Author_160001', 'Comment': 'Comment_160001', 'Content': 'Content_160001', 'Summary': 'Summary_160001', 'Title': 'Title_160001', 'Topic': 'Topic_160001'}

260318232632746805,Received records: 10000
First item: {'Id': 170001, 'Name': 'Name_170001', 'ISBN': 'ISBN_170001_3e490d6771d44f34973b28d443fa5924', 'Author': 'Author_170001', 'Comment': 'Comment_170001', 'Content': 'Content_170001', 'Summary': 'Summary_170001', 'Title': 'Title_170001', 'Topic': 'Topic_170001'}

260318232637847518,Received records: 10000
First item: {'Id': 180001, 'Name': 'Name_180001', 'ISBN': 'ISBN_180001_5dadc2971e69402eb6697ef1c88676ab', 'Author': 'Author_180001', 'Comment': 'Comment_180001', 'Content': 'Content_180001', 'Summary': 'Summary_180001', 'Title': 'Title_180001', 'Topic': 'Topic_180001'}

260318232642943281,Received records: 10000
First item: {'Id': 190001, 'Name': 'Name_190001', 'ISBN': 'ISBN_190001_c623d2330a2e4983802b700ac7113eab', 'Author': 'Author_190001', 'Comment': 'Comment_190001', 'Content': 'Content_190001', 'Summary': 'Summary_190001', 'Title': 'Title_190001', 'Topic': 'Topic_190001'}

260318232648021882,Received records: 10000
First item: {'Id': 200001, 'Name': 'Name_200001', 'ISBN': 'ISBN_200001_b7ed386d41ba4765a185037f726b409a', 'Author': 'Author_200001', 'Comment': 'Comment_200001', 'Content': 'Content_200001', 'Summary': 'Summary_200001', 'Title': 'Title_200001', 'Topic': 'Topic_200001'}

260318232653138723,Received records: 10000
First item: {'Id': 210001, 'Name': 'Name_210001', 'ISBN': 'ISBN_210001_f7bec3bc760d403f93f6e55c254f4e29', 'Author': 'Author_210001', 'Comment': 'Comment_210001', 'Content': 'Content_210001', 'Summary': 'Summary_210001', 'Title': 'Title_210001', 'Topic': 'Topic_210001'}

260318232658236536,Received records: 10000
First item: {'Id': 220001, 'Name': 'Name_220001', 'ISBN': 'ISBN_220001_8dc45310bb7e4679b85d545b38d539cf', 'Author': 'Author_220001', 'Comment': 'Comment_220001', 'Content': 'Content_220001', 'Summary': 'Summary_220001', 'Title': 'Title_220001', 'Topic': 'Topic_220001'}

260318232703332314,Received records: 10000
First item: {'Id': 230001, 'Name': 'Name_230001', 'ISBN': 'ISBN_230001_a6667273da054c6e91aa16b7330fa8ac', 'Author': 'Author_230001', 'Comment': 'Comment_230001', 'Content': 'Content_230001', 'Summary': 'Summary_230001', 'Title': 'Title_230001', 'Topic': 'Topic_230001'}

260318232708396710,Received records: 10000
First item: {'Id': 240001, 'Name': 'Name_240001', 'ISBN': 'ISBN_240001_97fccc61bda04690ba4369c312039f66', 'Author': 'Author_240001', 'Comment': 'Comment_240001', 'Content': 'Content_240001', 'Summary': 'Summary_240001', 'Title': 'Title_240001', 'Topic': 'Topic_240001'}

260318232713490672,Received records: 10000
First item: {'Id': 250001, 'Name': 'Name_250001', 'ISBN': 'ISBN_250001_16f7b3196e7d4218b71b8cc03c3eb907', 'Author': 'Author_250001', 'Comment': 'Comment_250001', 'Content': 'Content_250001', 'Summary': 'Summary_250001', 'Title': 'Title_250001', 'Topic': 'Topic_250001'}

260318232718599915,Received records: 10000
First item: {'Id': 260001, 'Name': 'Name_260001', 'ISBN': 'ISBN_260001_1d0c5eddc05d4c7bbc1caff3463fa082', 'Author': 'Author_260001', 'Comment': 'Comment_260001', 'Content': 'Content_260001', 'Summary': 'Summary_260001', 'Title': 'Title_260001', 'Topic': 'Topic_260001'}

260318232723700772,Received records: 10000
First item: {'Id': 270001, 'Name': 'Name_270001', 'ISBN': 'ISBN_270001_8748eb9bcc9e414394b0509215527364', 'Author': 'Author_270001', 'Comment': 'Comment_270001', 'Content': 'Content_270001', 'Summary': 'Summary_270001', 'Title': 'Title_270001', 'Topic': 'Topic_270001'}

260318232728796573,Received records: 10000
First item: {'Id': 280001, 'Name': 'Name_280001', 'ISBN': 'ISBN_280001_db645ec948f94a4b87af9cb0499a8cd2', 'Author': 'Author_280001', 'Comment': 'Comment_280001', 'Content': 'Content_280001', 'Summary': 'Summary_280001', 'Title': 'Title_280001', 'Topic': 'Topic_280001'}

260318232733909994,Received records: 10000
First item: {'Id': 290001, 'Name': 'Name_290001', 'ISBN': 'ISBN_290001_a3444d1fbdde4191916e8f086adc7097', 'Author': 'Author_290001', 'Comment': 'Comment_290001', 'Content': 'Content_290001', 'Summary': 'Summary_290001', 'Title': 'Title_290001', 'Topic': 'Topic_290001'}

260318232739042011,Received records: 10000
First item: {'Id': 300001, 'Name': 'Name_300001', 'ISBN': 'ISBN_300001_e09e0297d355475b8084591c1db692da', 'Author': 'Author_300001', 'Comment': 'Comment_300001', 'Content': 'Content_300001', 'Summary': 'Summary_300001', 'Title': 'Title_300001', 'Topic': 'Topic_300001'}

260318232744152166,Received records: 10000
First item: {'Id': 310001, 'Name': 'Name_310001', 'ISBN': 'ISBN_310001_e5056e98267a4e738ce17453a19f5d24', 'Author': 'Author_310001', 'Comment': 'Comment_310001', 'Content': 'Content_310001', 'Summary': 'Summary_310001', 'Title': 'Title_310001', 'Topic': 'Topic_310001'}

260318232749244575,Received records: 10000
First item: {'Id': 320001, 'Name': 'Name_320001', 'ISBN': 'ISBN_320001_efcf64a0a8f24819b86ffc8f2bfb036c', 'Author': 'Author_320001', 'Comment': 'Comment_320001', 'Content': 'Content_320001', 'Summary': 'Summary_320001', 'Title': 'Title_320001', 'Topic': 'Topic_320001'}

260318232754346832,Received records: 10000
First item: {'Id': 330001, 'Name': 'Name_330001', 'ISBN': 'ISBN_330001_65801a16791541b19003808dc82b8f3a', 'Author': 'Author_330001', 'Comment': 'Comment_330001', 'Content': 'Content_330001', 'Summary': 'Summary_330001', 'Title': 'Title_330001', 'Topic': 'Topic_330001'}

260318232759449123,Received records: 10000
First item: {'Id': 340001, 'Name': 'Name_340001', 'ISBN': 'ISBN_340001_1a7e09679b0145a2a969ea333f94d51c', 'Author': 'Author_340001', 'Comment': 'Comment_340001', 'Content': 'Content_340001', 'Summary': 'Summary_340001', 'Title': 'Title_340001', 'Topic': 'Topic_340001'}

260318232804537039,Received records: 10000
First item: {'Id': 350001, 'Name': 'Name_350001', 'ISBN': 'ISBN_350001_831f104499644418a69581635a61c0ab', 'Author': 'Author_350001', 'Comment': 'Comment_350001', 'Content': 'Content_350001', 'Summary': 'Summary_350001', 'Title': 'Title_350001', 'Topic': 'Topic_350001'}

260318232809623062,Received records: 10000
First item: {'Id': 360001, 'Name': 'Name_360001', 'ISBN': 'ISBN_360001_acb8352452ab499ba2ca8bcf7bf4a7ad', 'Author': 'Author_360001', 'Comment': 'Comment_360001', 'Content': 'Content_360001', 'Summary': 'Summary_360001', 'Title': 'Title_360001', 'Topic': 'Topic_360001'}

260318232814700981,Received records: 10000
First item: {'Id': 370001, 'Name': 'Name_370001', 'ISBN': 'ISBN_370001_683eb2cf35fe4b02a060b8c96adf5569', 'Author': 'Author_370001', 'Comment': 'Comment_370001', 'Content': 'Content_370001', 'Summary': 'Summary_370001', 'Title': 'Title_370001', 'Topic': 'Topic_370001'}

260318232819788040,Received records: 10000
First item: {'Id': 380001, 'Name': 'Name_380001', 'ISBN': 'ISBN_380001_60518c82ce0b4183be876c6698e76c0f', 'Author': 'Author_380001', 'Comment': 'Comment_380001', 'Content': 'Content_380001', 'Summary': 'Summary_380001', 'Title': 'Title_380001', 'Topic': 'Topic_380001'}

260318232824874194,Received records: 10000
First item: {'Id': 390001, 'Name': 'Name_390001', 'ISBN': 'ISBN_390001_7d8fa55ab77b42908ae949771ac537ea', 'Author': 'Author_390001', 'Comment': 'Comment_390001', 'Content': 'Content_390001', 'Summary': 'Summary_390001', 'Title': 'Title_390001', 'Topic': 'Topic_390001'}

260318232829962475,Received records: 10000
First item: {'Id': 400001, 'Name': 'Name_400001', 'ISBN': 'ISBN_400001_148d41b475554460a0bd53a650ad8fda', 'Author': 'Author_400001', 'Comment': 'Comment_400001', 'Content': 'Content_400001', 'Summary': 'Summary_400001', 'Title': 'Title_400001', 'Topic': 'Topic_400001'}

260318232835055932,Received records: 10000
First item: {'Id': 410001, 'Name': 'Name_410001', 'ISBN': 'ISBN_410001_139f094ec04f45e683c27b144b41f924', 'Author': 'Author_410001', 'Comment': 'Comment_410001', 'Content': 'Content_410001', 'Summary': 'Summary_410001', 'Title': 'Title_410001', 'Topic': 'Topic_410001'}

260318232840161483,Received records: 10000
First item: {'Id': 420001, 'Name': 'Name_420001', 'ISBN': 'ISBN_420001_994b28b32d5b4b5097a721bb45f727de', 'Author': 'Author_420001', 'Comment': 'Comment_420001', 'Content': 'Content_420001', 'Summary': 'Summary_420001', 'Title': 'Title_420001', 'Topic': 'Topic_420001'}

260318232845270400,Received records: 10000
First item: {'Id': 430001, 'Name': 'Name_430001', 'ISBN': 'ISBN_430001_51ef791c60e5489cb86d6d5059cc2c3f', 'Author': 'Author_430001', 'Comment': 'Comment_430001', 'Content': 'Content_430001', 'Summary': 'Summary_430001', 'Title': 'Title_430001', 'Topic': 'Topic_430001'}

260318232850361691,Received records: 10000
First item: {'Id': 440001, 'Name': 'Name_440001', 'ISBN': 'ISBN_440001_f880a6ef39cb4921b9869b42f7890eef', 'Author': 'Author_440001', 'Comment': 'Comment_440001', 'Content': 'Content_440001', 'Summary': 'Summary_440001', 'Title': 'Title_440001', 'Topic': 'Topic_440001'}

260318232855484735,Received records: 10000
First item: {'Id': 450001, 'Name': 'Name_450001', 'ISBN': 'ISBN_450001_8823f192e26a4eafbe449d8a39ad12d8', 'Author': 'Author_450001', 'Comment': 'Comment_450001', 'Content': 'Content_450001', 'Summary': 'Summary_450001', 'Title': 'Title_450001', 'Topic': 'Topic_450001'}

260318232900567112,Received records: 10000
First item: {'Id': 460001, 'Name': 'Name_460001', 'ISBN': 'ISBN_460001_814735fa28a8480a87b29452b79f6bae', 'Author': 'Author_460001', 'Comment': 'Comment_460001', 'Content': 'Content_460001', 'Summary': 'Summary_460001', 'Title': 'Title_460001', 'Topic': 'Topic_460001'}

260318232905686510,Received records: 10000
First item: {'Id': 470001, 'Name': 'Name_470001', 'ISBN': 'ISBN_470001_dfa3316cba0141419611ea8d05ea3053', 'Author': 'Author_470001', 'Comment': 'Comment_470001', 'Content': 'Content_470001', 'Summary': 'Summary_470001', 'Title': 'Title_470001', 'Topic': 'Topic_470001'}

260318232910727212,Received records: 10000
First item: {'Id': 480001, 'Name': 'Name_480001', 'ISBN': 'ISBN_480001_afa1bf924a9b4a7aa9f5c4cb0b4f9e21', 'Author': 'Author_480001', 'Comment': 'Comment_480001', 'Content': 'Content_480001', 'Summary': 'Summary_480001', 'Title': 'Title_480001', 'Topic': 'Topic_480001'}

260318232915805998,Received records: 10000
First item: {'Id': 490001, 'Name': 'Name_490001', 'ISBN': 'ISBN_490001_9e0c76421c7548919d7e6a01b23e57af', 'Author': 'Author_490001', 'Comment': 'Comment_490001', 'Content': 'Content_490001', 'Summary': 'Summary_490001', 'Title': 'Title_490001', 'Topic': 'Topic_490001'}

260318232920852629,Received records: 10000
First item: {'Id': 500001, 'Name': 'Name_500001', 'ISBN': 'ISBN_500001_1fe44b3a94274661bc434b715cd7305b', 'Author': 'Author_500001', 'Comment': 'Comment_500001', 'Content': 'Content_500001', 'Summary': 'Summary_500001', 'Title': 'Title_500001', 'Topic': 'Topic_500001'}

260318232925923835,Received records: 10000
First item: {'Id': 510001, 'Name': 'Name_510001', 'ISBN': 'ISBN_510001_9011353029cc4b19ab605d8d053fb587', 'Author': 'Author_510001', 'Comment': 'Comment_510001', 'Content': 'Content_510001', 'Summary': 'Summary_510001', 'Title': 'Title_510001', 'Topic': 'Topic_510001'}

260318232930998819,Received records: 10000
First item: {'Id': 520001, 'Name': 'Name_520001', 'ISBN': 'ISBN_520001_9b9f1326a02349ff928ac9e80a7cf4ad', 'Author': 'Author_520001', 'Comment': 'Comment_520001', 'Content': 'Content_520001', 'Summary': 'Summary_520001', 'Title': 'Title_520001', 'Topic': 'Topic_520001'}

260318232936093202,Received records: 10000
First item: {'Id': 530001, 'Name': 'Name_530001', 'ISBN': 'ISBN_530001_e12ea7753fc643739dee8818c6e565d8', 'Author': 'Author_530001', 'Comment': 'Comment_530001', 'Content': 'Content_530001', 'Summary': 'Summary_530001', 'Title': 'Title_530001', 'Topic': 'Topic_530001'}

260318232941150842,Received records: 10000
First item: {'Id': 540001, 'Name': 'Name_540001', 'ISBN': 'ISBN_540001_353c91ef4cdd494e9a040a40cab60fa8', 'Author': 'Author_540001', 'Comment': 'Comment_540001', 'Content': 'Content_540001', 'Summary': 'Summary_540001', 'Title': 'Title_540001', 'Topic': 'Topic_540001'}

260318232946205551,Received records: 10000
First item: {'Id': 550001, 'Name': 'Name_550001', 'ISBN': 'ISBN_550001_600b402305c14768b9a5785a8c1af42b', 'Author': 'Author_550001', 'Comment': 'Comment_550001', 'Content': 'Content_550001', 'Summary': 'Summary_550001', 'Title': 'Title_550001', 'Topic': 'Topic_550001'}

260318232951292017,Received records: 10000
First item: {'Id': 560001, 'Name': 'Name_560001', 'ISBN': 'ISBN_560001_edeb119e1c584ea9948a946870f352be', 'Author': 'Author_560001', 'Comment': 'Comment_560001', 'Content': 'Content_560001', 'Summary': 'Summary_560001', 'Title': 'Title_560001', 'Topic': 'Topic_560001'}

260318232956359718,Received records: 10000
First item: {'Id': 570001, 'Name': 'Name_570001', 'ISBN': 'ISBN_570001_680eae2c4c38462384c1144f19b4d255', 'Author': 'Author_570001', 'Comment': 'Comment_570001', 'Content': 'Content_570001', 'Summary': 'Summary_570001', 'Title': 'Title_570001', 'Topic': 'Topic_570001'}

260318233001418627,Received records: 10000
First item: {'Id': 580001, 'Name': 'Name_580001', 'ISBN': 'ISBN_580001_757d3fdc2cf144c5abb710ff66d5c36f', 'Author': 'Author_580001', 'Comment': 'Comment_580001', 'Content': 'Content_580001', 'Summary': 'Summary_580001', 'Title': 'Title_580001', 'Topic': 'Topic_580001'}

260318233006475836,Received records: 10000
First item: {'Id': 590001, 'Name': 'Name_590001', 'ISBN': 'ISBN_590001_5cc7884e178b4ffc96f1f6465e6c8e64', 'Author': 'Author_590001', 'Comment': 'Comment_590001', 'Content': 'Content_590001', 'Summary': 'Summary_590001', 'Title': 'Title_590001', 'Topic': 'Topic_590001'}

260318233011557662,Received records: 10000
First item: {'Id': 600001, 'Name': 'Name_600001', 'ISBN': 'ISBN_600001_770e64ef29ae48f39b28d450aa536894', 'Author': 'Author_600001', 'Comment': 'Comment_600001', 'Content': 'Content_600001', 'Summary': 'Summary_600001', 'Title': 'Title_600001', 'Topic': 'Topic_600001'}

260318233016608896,Received records: 10000
First item: {'Id': 610001, 'Name': 'Name_610001', 'ISBN': 'ISBN_610001_0f32b17e2bde4eb296935892b4c0a699', 'Author': 'Author_610001', 'Comment': 'Comment_610001', 'Content': 'Content_610001', 'Summary': 'Summary_610001', 'Title': 'Title_610001', 'Topic': 'Topic_610001'}

 

posted @ 2026-03-18 23:30  FredGrit  阅读(7)  评论(0)    收藏  举报