Giter Site home page Giter Site logo

Comments (10)

skulltech avatar skulltech commented on July 19, 2024 1

I am working on this. Just wanted to let people know so that we don't end up doing duplicate work.

from autowebcompat.

marco-c avatar marco-c commented on July 19, 2024 1

Either CSV or a line-limited JSON (https://en.wikipedia.org/wiki/JSON_streaming#Line-delimited_JSON, that is a JSON object per line).

A normal JSON is a bit problematic because you can't easily see diffs between two versions of the file (e.g. if you just add one entry, the diff for a normal JSON file will show you the entire file).

from autowebcompat.

marco-c avatar marco-c commented on July 19, 2024

To do this, the first step would be to create a script to list all the inconsistencies.

from autowebcompat.

skulltech avatar skulltech commented on July 19, 2024

Which format would be best for exporting the inconsistencies?

  • A CSV with every row being an inconsistency
  • A JSON as a list of inconsistencies, the list consisting of dicts detailing it.

from autowebcompat.

Shashi456 avatar Shashi456 commented on July 19, 2024

@marco-c what do you think we could do next regarding this ?

from autowebcompat.

marco-c avatar marco-c commented on July 19, 2024

Manually look at the inconsistencies and see what prevented us from taking a screenshot. E.g. force the crawler to only load the website with an inconsistency and see if the crawler throws an exception in one of the browsers.

from autowebcompat.

Shashi456 avatar Shashi456 commented on July 19, 2024

can you point me in a direction as to how i could work with the crawler in this case and force it to load a site?

from autowebcompat.

marco-c avatar marco-c commented on July 19, 2024

The crawler is in collect.py, you need to change it to load a URL you want instead of loading an URL from one of the webcompat bugs.

from autowebcompat.

Shashi456 avatar Shashi456 commented on July 19, 2024

@marco-c where do I get the URL's of the websites for which we have inconsistent screenshots, we haven't stored these website URL's anywhere

from autowebcompat.

marco-c avatar marco-c commented on July 19, 2024

We have stored the webcompat ID, so you can retrieve the URLs either with Python by using utils.get_bugs() and finding the bug you want, or by loading the bug on the webcompat.com website (e.g. https://webcompat.com/issues/1491).

from autowebcompat.

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.