Video synchronization method and device, electronic equipment and storage medium

Use the Selenium tool to create a browser driver and monitor interface requests to automatically download and upload videos, solving the problem of cumbersome video synchronization operations and improving synchronization efficiency.

CN118764671APending Publication Date: 2024-10-11SHANGHAI ZHONG YUAN NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410829052.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In the existing technology, the video synchronization operation is cumbersome and the user experience is poor. Videos need to be downloaded and uploaded manually, which is a complicated process.

Method used

Use the Selenium tool to create the target browser driver, configure the target interface information to be monitored, open the target page, listen to the interface call request to obtain the video download link, and automatically download and upload the video to the target platform.

Benefits of technology

It realizes the automation of the video synchronization process, avoids the complex operations of manual downloading and uploading by users, and improves synchronization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764671A_ABST
    Figure CN118764671A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a video synchronization method and device, electronic equipment and a storage medium, and is applied to the technical field of computers.The method comprises the steps that a target browser driver is created based on a Selenium tool; configuring target interface information to be monitored for the target browser driver; starting a target page based on the target browser drive, wherein the target page comprises a to-be-synchronized video; under the condition that a calling request of the target page for a target interface corresponding to the target interface information is monitored, obtaining video downloading link information returned by the target interface; and downloading the to-be-synchronized video based on the video downloading link information, and uploading the to-be-synchronized video to a target account of a target platform. The problem that in the prior art, video synchronization operation is tedious is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a video synchronization method, device, electronic equipment and storage medium. Background Art

[0002] As the living standards of users improve, people have more and more ways to entertain themselves, and more and more video platforms have emerged, such as short video platforms and long video platforms. For users, they often want to upload their videos on multiple platforms to increase exposure.

[0003] In the related art, when a user wants to synchronize a video on one platform to another platform, he usually needs to download the video on the platform and then upload it to the other platform. This method is cumbersome and has a poor user experience. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a video synchronization method, device, electronic device and storage medium to solve the problem of complicated video synchronization operation in related technologies.

[0005] In a first aspect of an embodiment of the present invention, a video synchronization method is first provided, the method comprising:

[0006] Create target browser driver based on Selenium tool;

[0007] configuring the target browser driver with target interface information to be monitored;

[0008] Based on the target browser driver, a target page is opened, wherein the target page includes the video to be synchronized;

[0009] In the case of monitoring a call request of the target page to the target interface corresponding to the target interface information, obtaining the video download link information returned by the target interface;

[0010] The video to be synchronized is downloaded based on the video download link information, and the video to be synchronized is uploaded to a target account of a target platform.

[0011] Optionally, before creating the target browser driver based on the Selenium tool, the method further includes:

[0012] Establishing an anti-crawler data set, wherein the anti-crawler data set is used to provide creation configuration information for the target browser driver;

[0013] Determine target anti-crawler data from the anti-crawler data set;

[0014] The method of creating a target browser driver based on the Selenium tool includes:

[0015] Create an initial browser driver based on the Selenium tool;

[0016] The initial browser driver is configured based on the target anti-crawler data to obtain the target browser driver.

[0017] Optionally, the anti-crawler data set includes: a user agent library and a proxy server library, the user agent library is used to provide different browser identifiers, and the proxy server library is used to provide Internet Protocol addresses.

[0018] Optionally, before the target page is opened based on the target browser driver, the method further includes:

[0019] Create an authentication plugin;

[0020] The method also includes: in the process of opening the target page based on the target browser driver, if an authentication instruction for the target Internet Protocol address in the target anti-crawler data is monitored, authentication information is obtained, and the Internet Protocol address is authenticated through the authentication plug-in and the authentication information.

[0021] Optionally, after the target page is opened based on the target browser driver, the method further includes:

[0022] Obtaining login information for the target page;

[0023] Log in to the target page based on the login information.

[0024] Optionally, before obtaining the video download link information returned by the target interface, the method further includes:

[0025] Obtaining first user information to which the video to be synchronized belongs;

[0026] It is determined that the first user information is consistent with pre-stored user information.

[0027] Optionally, before downloading the video to be synchronized based on the video download link information and uploading the video to be synchronized to the target platform, the method further includes:

[0028] Obtaining second user information of the target account;

[0029] It is determined that the first user information and the second user information are user information of the same user.

[0030] In a second aspect of the embodiment of the present invention, a video synchronization device is further provided, including:

[0031] Create a module for creating target browser drivers based on Selenium tools;

[0032] A configuration module, used for configuring the target browser driver to monitor the target interface information;

[0033] An opening module, used for opening a target page based on the target browser drive, wherein the target page includes a video to be synchronized;

[0034] An acquisition module, configured to acquire the video download link information returned by the target interface when monitoring a call request from the target page to the target interface corresponding to the target interface information;

[0035] A synchronization module is used to download the video to be synchronized based on the video download link information, and upload the video to be synchronized to a target account of a target platform.

[0036] In a third aspect of an embodiment of the present invention, there is further provided an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0037] Memory, used to store computer programs;

[0038] The processor is used to implement any video synchronization method described in the first aspect when executing the program stored in the memory.

[0039] In a fourth aspect of the embodiments of the present invention, a storage medium is further provided, wherein instructions are stored in the storage medium, and when the instructions are executed on a computer, the computer executes any one of the video synchronization methods described in the first aspect above.

[0040] In a fifth aspect of the embodiments of the present invention, a computer program product comprising instructions is also provided, which, when executed on a computer, enables the computer to execute any of the video synchronization methods described in the first aspect.

[0041] The technical solution provided by the embodiment of the present invention is to create a target browser driver based on the Selenium tool; configure the target interface information to be monitored for the target browser driver; open the target page based on the target browser driver, and the target page includes the video to be synchronized; obtain the video download link information returned by the target interface when monitoring the call request of the target page to the target interface corresponding to the target interface information; download the video to be synchronized based on the video download link information, and upload the video to be synchronized to the target account of the target platform. In this way, the target interface is automatically opened through the established target browser driver, and the video download link information of the video to be synchronized that needs to be synchronized is obtained by monitoring the call request of the target interface, and then the video to be synchronized is downloaded using the video download link information and synchronized to the target account of the target platform, so that the synchronization process of the video to be synchronized does not require human participation, avoids the complex operation process of users downloading and uploading, and improves the synchronization efficiency of the video. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] Figure 1 An application scenario diagram of a video synchronization method provided in an embodiment of the present application;

[0045] Figure 2 A flowchart of a video synchronization method provided by an embodiment of the present application;

[0046] Figure 3 A flowchart of a video synchronization method provided by another embodiment of the present application;

[0047] Figure 4 A structural diagram of a video synchronization device provided in one embodiment of the present application;

[0048] Figure 5 A structural diagram of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0051] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described. The nouns and terms involved in the embodiments of the present invention are subject to the following explanations.

[0052] In web development, User-Agent (UA for short) is a special string that is sent by the browser to the server to identify the client software that is accessing the website. The UA string contains information about the browser version, operating system, and other relevant data, which is very important for identifying the user's device type, optimizing web page display effects, or performing other functional detection.

[0053] Proxy IP (proxy server) is a network technology that forwards requests and receives responses through a proxy server, thereby hiding the client's real IP address. On the Internet, proxy servers can be used for a variety of purposes, such as increasing access speed, protecting privacy, and breaking through access restrictions.

[0054] According to an embodiment of the present application, a video synchronization method is provided. Optionally, in the embodiment of the present application, the above video synchronization method can be applied to Figure 1 In the hardware environment composed of the terminal 101 and the server 102 shown in FIG. Figure 1As shown, the server 102 is connected to the terminal 101 via a network, and can be used to provide services (such as video services, application services, etc.) for the terminal or a client installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for the server 102. The above-mentioned network includes but is not limited to: a wide area network, a metropolitan area network or a local area network, and the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, etc.

[0055] The video synchronization method of the embodiment of the present application can be executed by the server 102, or by the terminal 101. The terminal 101 executes the video synchronization method of the embodiment of the present application, specifically, by a client installed thereon.

[0056] Taking the video synchronization method executed by the terminal in the embodiment of the present application as an example, Figure 2 is a flow chart of an optional video synchronization method according to an embodiment of the present application, such as Figure 2 As shown, the process of the method may include the following steps:

[0057] Step 201: Create a target browser driver based on the Selenium tool.

[0058] In some embodiments, the selenium tool is a tool for testing Web applications. The selenium test runs directly on the browser web page, can simulate the user operating the web page, and can support multiple browsers.

[0059] In this embodiment, the target browser driver created by using the Selenium tool can realize the browser function.

[0060] In an optional embodiment, before creating the target browser driver based on the Selenium tool, the method further includes:

[0061] Establishing an anti-crawler data set, wherein the anti-crawler data set is used to provide creation configuration information for the target browser driver;

[0062] Determine target anti-crawler data from the anti-crawler data set;

[0063] Furthermore, the creation of a target browser driver based on the Selenium tool includes:

[0064] Create an initial browser driver based on the Selenium tool;

[0065] The initial browser driver is configured based on the target anti-crawler data to obtain the target browser driver.

[0066] In some embodiments, in order to avoid the target browser driver using fixed creation information when accessing the target page, the target page considers that the synchronization behavior based on the driver of the target browser is a crawler behavior, and restricts its download. In the present application, an anti-crawler data set is pre-established, and a variety of creation configuration information for the target browser driver is set in the anti-crawler data set, so that when creating the target browser driver, browser drivers with different configurations can be created.

[0067] The target anti-crawler data may be randomly selected from the anti-crawler data set, or may be selected in sequence according to the position in the anti-crawler data set.

[0068] The anti-crawler dataset includes: a user agent library (UA for short) and a proxy server library, wherein the User-Agent library is used to provide different browser identifiers, and the proxy server library is used to provide Internet protocol addresses. The browser identifier can be used to represent different browsers, such as browser A, browser B, browser C, etc.

[0069] Accordingly, the target anti-crawler data includes the target browser representation and the target IP address.

[0070] It is understandable that the target browser driver established according to the target anti-crawler data can implement the target browser function according to the target IP address.

[0071] Step 202: configuring the target browser driver with target interface information to be monitored.

[0072] In some embodiments, different video publishing platforms have different interface information, and the interface information can be obtained by users through research on different video publishing platforms. When users need to synchronize videos on a certain platform to another platform (referring to the target platform), they can upload the target interface information of the platform, configure the target interface information with the target browser driver, and then enable the target browser driver to use the target interface information to achieve video synchronization.

[0073] Step 203: Open a target page based on the target browser driver, wherein the target page includes the video to be synchronized.

[0074] In some embodiments, the target page refers to a page of the original platform that publishes the video to be synchronized. After the target page is opened by the target browser driver, relevant operations in the target page can be monitored.

[0075] Step 204: when monitoring a call request of the target page to the target interface corresponding to the target interface information, obtain the video download link information returned by the target interface.

[0076] In some embodiments, if the above-mentioned call request is monitored, it means that the target page will view the video to be synchronized. By obtaining the video download link information returned in the call interface, the video to be synchronized can be downloaded based on the video download link information.

[0077] Step 205: Download the video to be synchronized based on the video download link information, and upload the video to be synchronized to the target account of the target platform.

[0078] In some embodiments, the video to be synchronized is downloaded through the video download link information and uploaded to the target account of the target platform, thereby achieving synchronization of the video to be synchronized from the original platform to the target platform.

[0079] It is understandable that before uploading the video to be synchronized to the target account of the target platform, it can also include: comparing the video to be synchronized with the existing videos belonging to the target account. If the video to be synchronized is the same as the existing video, giving up uploading the video to be synchronized; if they are different, continuing to complete the uploading step.

[0080] In an optional embodiment, in order to improve the security of video synchronization, the first user information to which the video to be synchronized in the target page belongs may also be verified.

[0081] Among them, the first user information can be obtained by, when the target page is already logged in, using the user information corresponding to the login information as the first user information, or by, when the target page is not logged in, extracting the user information of the video to be synchronized after selecting a certain video.

[0082] Furthermore, the user provides second user information for verification. When the first user information is consistent with the pre-stored second user information, it is considered that the current video to be synchronized is the video of the user on the original platform, and the video to be synchronized is further downloaded and uploaded; if they are inconsistent, it means that the video to be synchronized is not the video of the user on the original platform, and the back-synchronization step cannot be completed.

[0083] Furthermore, in order to avoid synchronizing the wrong account of the target platform, before downloading the video to be synchronized based on the video download link information and uploading the video to be synchronized to the target platform, the method further includes:

[0084] Obtaining third user information of the target account;

[0085] It is determined that the first user information and the third user information are user information of the same user.

[0086] By comparing the first user information of the video to be synchronized with the third user information of the target account of the target platform, if the two are consistent, it is determined that the original platform and the target platform are accounts of the same user, so video synchronization can be performed.

[0087] In an optional embodiment, after the target page is opened based on the target browser driver, the method further includes:

[0088] Obtaining login information for the target page;

[0089] Log in to the target page based on the login information.

[0090] In some embodiments, in order to improve the efficiency of video synchronization, a user can provide login information for the target page, and the user enters the login information into the browser driver, which is started by the browser to automatically obtain the login information and log in to the target page, thereby avoiding the situation where relevant information needs to be manually entered when logging into the target page.

[0091] In an optional embodiment, in order to improve the security of video synchronization, before the target page is opened based on the target browser driver, the method further includes:

[0092] Create an authentication plugin;

[0093] The method also includes: in the process of opening the target page based on the target browser driver, if an authentication instruction for the target Internet Protocol address in the target anti-crawler data is monitored, authentication information is obtained, and the Internet Protocol address is authenticated through the authentication plug-in and the authentication information.

[0094] In some embodiments, when opening a target page, it is sometimes necessary to authenticate the target IP address in the target anti-crawler data. By creating an authentication plug-in, when authentication is required, the authentication plug-in automatically completes the authentication process, thereby improving synchronization efficiency.

[0095] Generally, the authentication of the target IP address is achieved by verifying the login information. The authentication plug-in automatically enters the login information when authentication is required, avoiding the tedious manual input.

[0096] In a specific embodiment, the video synchronization method of the present application can be based on Figure 3 The process implementation shown mainly includes creating a browser driver, obtaining data and resource processing. Before creating the browser driver, create a random UA, a random proxy and other plug-ins, and configure the browser driver based on the pre-created information. When obtaining the video data to be synchronized, listen to the request, open the target page, and parse the corresponding data to obtain the download link of the video to be synchronized. Then, download the video and synchronize the video to achieve video synchronization.

[0097] Specifically, the method includes:

[0098] First, establish a User-Agent library to facilitate random settings when creating browser drivers;

[0099] Second, establish a proxy server library, which allows the browser driver to simulate accessing the target page as a random address;

[0100] Third, use selenium to create a browser driver;

[0101] Fourth, use the created browser driver to set up specific request interception;

[0102] Fifth, open the target page;

[0103] Sixth, intercept video download links and other information;

[0104] Seventh, download the video to the local server and then upload it to the corresponding account of the target platform user.

[0105] The video synchronization method of the present application uses selenium to create a browser driver. During the creation process, different User-Agents can be set, and different proxy servers can be used to avoid being recognized by the target page (i.e., to achieve simple anti-crawler). After the browser driver is created, the driver intercepts specific requests to open external site pages. After the target page is opened, the request interception is triggered to obtain the download link information corresponding to the video, and the external site video is automatically captured by monitoring the page request method, and then the video is uploaded to the corresponding account. It can also realize the functions of automatically entering the account password and automatically skipping the verification code, thereby saving the user's valuable time and enriching the video volume of the target platform.

[0106] Corresponding to the above method embodiment, the embodiment of the present invention also provides a video synchronization device, such as Figure 4 As shown, the device may include:

[0107] A creation module 401 is used to create a target browser driver based on a Selenium tool;

[0108] Configuration module 402, configured to configure the target browser driver with target interface information to be monitored;

[0109] An opening module 403 is used to drive an opening of a target page based on the target browser, wherein the target page includes a video to be synchronized;

[0110] The acquisition module 404 is used to acquire the video download link information returned by the target interface when monitoring the call request of the target page to the target interface corresponding to the target interface information;

[0111] The synchronization module 405 is used to download the video to be synchronized based on the video download link information, and upload the video to be synchronized to the target account of the target platform.

[0112] Based on the same concept, an electronic device is also provided in the embodiment of the present application, such as Figure 5 As shown, the electronic device mainly includes: a processor 501, a memory 502 and a communication bus 503, wherein the processor 501 and the memory 502 communicate with each other through the communication bus 503. The memory 502 stores a program that can be executed by the processor 501, and the processor 501 executes the program stored in the memory 502 to implement the following steps:

[0113] Create target browser driver based on Selenium tool;

[0114] configuring the target browser driver with target interface information to be monitored;

[0115] Based on the target browser driver, a target page is opened, wherein the target page includes the video to be synchronized;

[0116] In the case of monitoring a call request of the target page to the target interface corresponding to the target interface information, obtaining the video download link information returned by the target interface;

[0117] The video to be synchronized is downloaded based on the video download link information, and the video to be synchronized is uploaded to a target account of a target platform.

[0118] The communication bus 503 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 503 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0119] The memory 502 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Alternatively, the memory may also be at least one storage device located away from the processor 501 .

[0120] The above-mentioned processor 501 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0121] In another embodiment of the present invention, a storage medium is provided. The storage medium stores instructions. When the instructions are executed on a computer, the computer executes the video synchronization method described in any one of the above embodiments.

[0122] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer executes the video synchronization method described in any one of the above embodiments.

[0123] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a storage medium, or transmitted from one storage medium to another storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0124] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0125] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0126] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A video synchronization method, characterized in that: include: Create target browser driver based on Selenium tool; configuring the target browser driver with target interface information to be monitored; Based on the target browser driver, a target page is opened, wherein the target page includes the video to be synchronized; In the case of monitoring a call request of the target page to the target interface corresponding to the target interface information, obtaining the video download link information returned by the target interface; The video to be synchronized is downloaded based on the video download link information, and the video to be synchronized is uploaded to a target account of a target platform.

2. The video synchronization method according to claim 1, characterized in that: Before creating the target browser driver based on the Selenium tool, the method further includes: Establishing an anti-crawler data set, wherein the anti-crawler data set is used to provide creation configuration information for the target browser driver; Determine target anti-crawler data from the anti-crawler data set; The method of creating a target browser driver based on the Selenium tool includes: Create an initial browser driver based on the Selenium tool; The initial browser driver is configured based on the target anti-crawler data to obtain the target browser driver.

3. The video synchronization method according to claim 2, characterized in that: The anti-crawler data set includes: a user agent library and a proxy server library, the user agent library is used to provide different browser identifiers, and the proxy server library is used to provide Internet protocol addresses.

4. The video synchronization method according to claim 2 or 3, characterized in that: Before the target page is opened based on the target browser driver, the method further includes: Create an authentication plugin; The method also includes: in the process of opening the target page based on the target browser driver, if an authentication instruction for the target Internet Protocol address in the target anti-crawler data is monitored, authentication information is obtained, and the Internet Protocol address is authenticated through the authentication plug-in and the authentication information.

5. The video synchronization method according to claim 1, characterized in that: After the target page is opened based on the target browser driver, the method further includes: Obtaining login information for the target page; Log in to the target page based on the login information.

6. The video synchronization method according to claim 1, characterized in that: Before obtaining the video download link information returned by the target interface, the method further includes: Obtaining first user information to which the video to be synchronized belongs; It is determined that the first user information is consistent with pre-stored user information.

7. The video synchronization method according to claim 6, characterized in that: Before downloading the video to be synchronized based on the video download link information and uploading the video to be synchronized to the target platform, the method further includes: Obtaining second user information of the target account; It is determined that the first user information and the second user information are user information of the same user.

8. A video synchronization device, characterized in that: include: Create a module for creating target browser drivers based on Selenium tools; A configuration module, used for configuring the target browser driver to monitor the target interface information; An opening module, used for opening a target page based on the target browser drive, wherein the target page includes a video to be synchronized; An acquisition module, configured to acquire the video download link information returned by the target interface when monitoring a call request from the target page to the target interface corresponding to the target interface information; A synchronization module is used to download the video to be synchronized based on the video download link information, and upload the video to be synchronized to a target account of a target platform.

9. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is used to execute the program stored in the memory to implement the video synchronization method described in any one of claims 1-7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the video synchronization method according to any one of claims 1 to 7 is implemented.