Git Product home page Git Product logo

Comments (3)

rviscomi avatar rviscomi commented on August 24, 2024

Great questions.

Is it possible to add the newer formats to the categories?

Yes, should be a straightforward fix:

else if ( false !== strpos($mimeType, "flash") || "mp4" === $ext || "swf" === $ext || "f4v" === $ext || "flv" === $ext ) {
. Could you submit a PR?

Is it possible to recalculate historical values taking these changes into consideration?

Possible but quite a bit more involved as it requires querying all requests and replacing all of the summary_pages tables. Not something I have capacity for now.

from legacy.httparchive.org.

Themanwithoutaplan avatar Themanwithoutaplan commented on August 24, 2024

Yeah, I should be able to submit a PR.
FWIW I've created a PR based on Doug's to identify the extensions and mimetypes that are classified as video. This skips anything using an embedded JS player but the URL list now contains far fewer YouTube webistes.

SELECT
lower(ext) as ext, mimeType, count(*) as cnt
  FROM
httparchive.runs.latest_requests
  WHERE
   type CONTAINS "video"
group by mimeType, ext
order by cnt desc

from legacy.httparchive.org.

rviscomi avatar rviscomi commented on August 24, 2024

Fixed by #154

from legacy.httparchive.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.