Freelancer: Conderella
Compartilhar:
Denunciar Inscrição

Linkedin Videos Scraper using Python

Hi, My solution is somehow different... 1. As you can see in the screenshot, the script uses a crafted Google Videos URL that controls all the required aspects. The duration of the video and the post date. 2. The script uses sync_playwright to load Google in a headless browser then scrape all the results, find the keyword and apply your filter on the duration once more. 3. Finally, grab the video URL and download it from licdn The reason I am going this way, is that you mentioned you need the public videos, so no need to login to Linkedin, off course we still can login easily using playwright, however, why not use the power of google hacks. I really trying to help and assist more than trying to winning the contest, [off course I would like to win though] What is left in my submission is scrape the next page of Google, apply the filters to the video metadata and download the video. Finally package the script in a docker container. Best, Ahmed


                                                                                                                        Inscrição nº                                             6
                                         do Concurso para                                             Coding challenge - Searching for 5-20 seconds Videos on LinkedIn
Inscrição nº6

Painel de Comentários

  • Conderella
    Conderella
    • 3 meses atrás

    Here we go!

    The loom video...

    https://www.loom.com/share/3404acf1eefc44329419b4e1e54aae2e

    And audio file created quickly, to make it easy to follow the video. There is something wrong with loom installation that cause the voice not to be recorded.

    https://www.dropbox.com/t/9aPjfI55TLfoKgYG

    • 3 meses atrás
  • Conderella
    Conderella
    • 3 meses atrás

    Yeah, this could would for both. It is mainly scraping of Google Video using the crafted URL that we pass to the script. Google search gives us an incredible search criteria, so I use it rater then searching inside LinkedIn. I will let you know shortly all the details.

    • 3 meses atrás
  • cstrasser
    Proprietário do Concurso
    • 3 meses atrás

    Hi Ahmed - Thanks a lot for the interesting solution! Do you mean that this could work for both LinkedIn and Google videos then? :) That'd be a great solution.

    • 3 meses atrás
  • Conderella
    Conderella
    • 3 meses atrás

    Kindly, check this screenshot...

    https://www.dropbox.com/t/jycLDTPJkK5cJt4d

    I've managed to reach to the LinkedIn videos links and now one step ahead by downloading them to disk as per your instructions.

    • 3 meses atrás
  • Conderella
    Conderella
    • 3 meses atrás

    Just let me know if you are interested, and I would be happy to package the soultion because I don't know if you prefer the idea of extracting the videos from Google Videos rather than login to Linkedin

    • 3 meses atrás

Mostrar mais comentários Processando...