profile
viewpoint
Alexandre Ferreira alexandresgf @GrindLabs Salvador Bahia Brasil

alexandresgf/cordova-plugin-play-games-services 6

Cordova Plugin For Google Play Game Service

alexandresgf/embaixadinha 3

A TAP game that you have to keep the ball in the air.

alexandresgf/fingergym 2

A game that you need to be quick in tap on the screen

alexandresgf/necropole 2

Another zombie game.

alexandresgf/pizzamayhem 2

Game about crazy pizza delivery!

alexandresgf/sagradopote 2

Webapp and app for food-in-a-jar requests.

alexandresgf/spectrum 1

Portable video game console system core.

alexandresgf/barfight 0

Kick out the bullies away from your bar.

alexandresgf/keepiced-server 0

REST server for KeepIced app.

startedthephpleague/pipeline

started time in a month

startedcoezo/ggj2020

started time in a month

issue commentgatsbyjs/gatsby

After update Gatsby from 2.21.17 to 2.22.12 it doesn't work anymore

What are node version you are using? We also do need some kind of reproduction for it.

node 12.17.0 LTS

I just downgrade the Gatsby version to 2.21.17, and for now, it is working fine.

alexandresgf

comment created time in a month

startedpypa/pipenv

started time in a month

issue openedgatsbyjs/gatsby

After update Gatsby from 2.21.17 to 2.22.12 it doesn't work anymore

Description

After an update did using the command npm update and the Gatsby updated from 2.21.17 to 2.22.12 no command did using gatsby-cli works anymore.

Steps to reproduce

  1. Start a new gatsby project or just run npm update; and,
  2. Try to execute gatsby develop or build or serve.

Expected result

Expected to run the development server.

Actual result

/home/alexandre/projects/bestcanais/frontend/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
        throw ex;
        ^

Error: write EACCES
    at process.target._send (internal/child_process.js:806:20)
    at process.target.send (internal/child_process.js:677:19)
    at /home/alexandre/projects/bestcanais/frontend/node_modules/gatsby/node_modules/gatsby-cli/lib/reporter/loggers/ipc/index.js:58:13
    at dispatch (/home/alexandre/projects/bestcanais/frontend/node_modules/gatsby/node_modules/gatsby-cli/lib/reporter/redux/index.js:54:5)
    at /home/alexandre/projects/bestcanais/frontend/node_modules/gatsby/node_modules/gatsby-cli/lib/reporter/redux/internal-actions.js:42:7
    at dispatch (/home/alexandre/projects/bestcanais/frontend/node_modules/gatsby/node_modules/gatsby-cli/lib/reporter/redux/index.js:33:5)
    at /home/alexandre/projects/bestcanais/frontend/node_modules/gatsby/node_modules/gatsby-cli/lib/reporter/redux/index.js:30:28
    at Array.forEach (<anonymous>)
    at dispatch (/home/alexandre/projects/bestcanais/frontend/node_modules/gatsby/node_modules/gatsby-cli/lib/reporter/redux/index.js:30:12)
    at Reporter.pendingActivity (/home/alexandre/projects/bestcanais/frontend/node_modules/redux/lib/redux.js:483:12)
    at module.exports (/home/alexandre/projects/bestcanais/frontend/node_modules/gatsby/dist/commands/develop-process.js:413:21)
    at Object.<anonymous> (/home/alexandre/projects/bestcanais/frontend/.cache/tmp-27267-PDO5cWsb1RYS:4:5)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
Emitted 'error' event on process instance at:
    at processEmit [as emit] (/home/alexandre/projects/bestcanais/frontend/node_modules/signal-exit/index.js:161:32)
    at internal/child_process.js:810:39
    at processTicksAndRejections (internal/process/task_queues.js:79:11) {
  errno: 'EACCES',
  code: 'EACCES',
  syscall: 'write'
}

Environment

  System:
    OS: Linux 5.3 Ubuntu 18.04.4 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
    Shell: 4.4.20 - /bin/bash
  Languages:
    Python: 2.7.17 - /home/alexandre/.pyenv/shims/python
  Browsers:
    Chrome: 83.0.4103.61
    Firefox: 76.0.1
  npmPackages:
    gatsby: ^2.21.17 => 2.22.12 
    gatsby-image: ^2.4.5 => 2.4.5 
    gatsby-plugin-google-analytics: ^2.3.2 => 2.3.2 
    gatsby-plugin-manifest: ^2.4.9 => 2.4.9 
    gatsby-plugin-material-ui: ^2.1.9 => 2.1.9 
    gatsby-plugin-offline: ^3.2.7 => 3.2.7 
    gatsby-plugin-react-helmet: ^3.3.2 => 3.3.2 
    gatsby-plugin-sharp: ^2.6.9 => 2.6.9 
    gatsby-source-filesystem: ^2.3.8 => 2.3.8 
    gatsby-source-graphql: ^2.5.2 => 2.5.2 
    gatsby-transformer-sharp: ^2.5.3 => 2.5.3 

created time in a month

startedlance-gg/lance

started time in 2 months

startedpuppeteer/puppeteer

started time in 2 months

issue commentpuppeteer/puppeteer

Puppeteer request interceptor not loggin m3u8 requests

@samuelkampf my problem is similar to yours. The difference is, the sites that I'm trying to extract the M3U8 link have two behaviors: (1) the site already load an iframe element with a video tag embedded on it or (2) you'll need to click in one of the buttons, which has the video resolution like HD, SD, etc, and then it loads an iframe element with a video embedded. I was able to extract it until the last week, but since this Monday (04.05.2020) it's just stopped to work.

Here is a screenshot that I took during my tests, in the black square is the iframe, where it should be the video player.

aovivoclub

So, my code is similar to yours, but I developed a service using JSON-RPC and Puppeteer-Cluster to enqueue and resolve the links sent by the crawlers. Follow the piece of code where I do the extractions.


module.exports = async (args, callback) => {
  let extractStream = async ({ page, data }) => {
    let streamURL = null;
    let url = data.url;
    let ext = data.ext;

    await page.setRequestInterception(true);

    page.on('request', (request) => {
      let regex = new RegExp(`/.*\.${ext}.*/`, 'i');
      let found = regex.exec(request.url());

      logger.debug('Request intercepted to %s', request.url());

      if (found) {
        streamURL = found[0];
        request.abort();
      } else {
        request.continue();
      }
    });

    logger.info('Searching for %s stream in URL %s', ext, url);
    await page.goto(url, {
      timeout: 60000,
      waitUntil: 'networkidle0',
    });

    if (isDebug) {
      await page.screenshot({ path: `logs/${Date.now()}.png` });
    }

    return streamURL;
  };

  try {
    logger.info('Enqueuing URL: %s', args.url);
    const streamURL = await args.puppeteer.execute(args, extractStream);
    logger.info(
      '%s stream %s in %s',
      args.ext,
      streamURL ? `found ${streamURL}` : 'not found',
      args.url
    );
    callback(null, streamURL);
  } catch (err) {
    logger.error(err);
    callback(null, null);
  }
};

And I already thought that could be an Puppeteer-Cluster error, but I just implemented another script with only the Puppeteer and the answer is the same. I did another try using the Pyppeteer (the port of the Puppeteer for Python) and no lucky either.

samuelkampf

comment created time in 2 months

issue commentpuppeteer/puppeteer

Puppeteer request interceptor not loggin m3u8 requests

@samuelkampf any news about it? I have the same problem here, can't extract the M3U8 links from video tag embedded in an iframe.

samuelkampf

comment created time in 2 months

startedpayrexx/payrexx-php

started time in 2 months

push eventalexandresgf/spectrum

Alexandre Ferreira

commit sha a625fbaa4b52cdf3bdb700e33dc9fe63b2230094

Change folder structure

view details

push time in 2 months

create barnchalexandresgf/spectrum

branch : master

created branch time in 2 months

created repositoryalexandresgf/spectrum

Portable video game console system core.

created time in 2 months

startedahmdrz/goinsta

started time in 2 months

starteddanleyb2/Instagram-API

started time in 2 months

startedping/instagram_private_api

started time in 2 months

startedpeers/peerjs

started time in 3 months

push eventalexandresgf/vmo-vote-service

Alexandre Ferreira

commit sha 6edf45997040f882b65c4287682f0ecbec8efe3c

Remove unnecessary files

view details

push time in 3 months

push eventalexandresgf/vmo-api

Alexandre Ferreira

commit sha 16dcd3b519fa57c2d3a1e27a3c7cf2ed5b502f08

Remove unnecessary files

view details

push time in 3 months

push eventalexandresgf/vmo-imgrecon-service

Alexandre Ferreira

commit sha ece9a540223baa554d54fb4a3f970b8706552fab

Remove unnecessary files

view details

push time in 3 months

more