Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)T
Posts
108
Comments
511
Joined
2 yr. ago

  • Why only in the US? (I didn't read the article)

  • uhm that's strange, I just tried executing it on your link and it worked. have you waited at least 5 seconds after running the script?

  • They also are very good with olives and potatoes

  • Ugly bikes ftw!

  • hi, sorry for the late reply! I finally wrote this nodejs script:

     js
        
    const puppeteer = require('puppeteer');
    
    // This is where we'll put the code to get around the tests.
    
    
    
    function findPlaylistUrl(networkUrls) {
      for (const url of networkUrls) {
        if (url.startsWith('https://vixcloud.co/playlist')) {
          return url;
        }
      }
      return ''; // Return an empty string if no matching URL is found
    }
    
    (async () => {
      // Check if URL argument is provided
      if (process.argv.length <= 2) {
        console.error('Usage: node get_network_urls.js <URL>');
        process.exit(1);
      }
    
      const url = process.argv[2];
    
      // Launch a headless browser
      const browser = await puppeteer.launch({ headless: 'true' });
      const page = await browser.newPage();
    
      // Enable request interception
      await page.setRequestInterception(true);
    
      // Capture network requests
      const networkUrls = [];
      page.on('request', (request) => {
        networkUrls.push(request.url());
        request.continue();
      });
    
      // Navigate to the URL
      await page.goto(url);
    
      // Wait for a while to capture network requests (adjust as needed)
      await page.waitForTimeout(5000);
    
      // Print the captured network URLs
      console.log(findPlaylistUrl(networkUrls));
        
      // Close the browser
      await browser.close();
    })();
    
      

    the first argument passed to the script is the url of the webpage. The script uses the puppeteer module to "fake" a browser, in order to receive all the network calls and so on, and then will search through them for the m3u8 playlist. It is very specific and only works on this website, but it can be easily adapted for other websites as well

  • Can you tell us more about this?

  • This is true for literally every selfhosted app

  • Setting up a server just for this is clearly overkill, but if you already have a homeserver it would be great to be able to deploy the backend. Sadly there is no such thing currently

  • Could be self hosted

  • Got it, thanks!

  • Why security critical?

  • Magnifico! Apparirà a breve su fdroid?

  • How is this possible? I mean, how can they connect the searches from the ip of the server with your laptop's ip?

  • Oh shit, new fear unlocked

  • And what if the server has a static IP address?

  • Probably stupid question: let's say I selfhost searxng only for myself: google & Co can track all my searches, but doesn't they pair all the data to the IP of my server? And because of this, they will not be able to show personalized ads to me, using my laptop. Is this wrong?

  • you're right, thanks for posting it yourself! I'm a newbie in the selfhosting world, so I thought that LibreY was "famous", but I was wrong!

  • Why? The public instances are heavily overloaded, isn't a private instance faster?

  • This is AWESOME! Exactly what I was looking for, thanks!!

  • Lord of the memes @midwest.social

    Sean Bean

  • KDE @lemmy.kde.social

    Why does the default language of the Krita website is Spanish?

  • KDE @lemmy.kde.social

    How would you customize KDE Plasma for a window user?

  • Memes @lemmy.ml

    Welcome onboard!

  • Lord of the memes @midwest.social

    Welcome onboard!

  • KDE @lemmy.kde.social

    Why does the brightness go down when unplugging the charger?

  • Free and Open Source Software @beehaw.org

    What's the dial with Chrome over Chromium?

  • Programming @beehaw.org

    how do I calculate the subtraction of two color?