Skip to content
Clément MATHIEU edited this page Jan 5, 2014 · 1 revision

HOME > Usage Guide

Infoqscraper is a command line interface tool. It does not have a graphical interface.

All the commands follow this pattern:

    infoqscraper [global options] module [module options] command [command options]

The --help parameter can be used in global, module and command option. When you are in doubt, it is a good way to check what is available.

presentation module

This module allows to list, search and download presentation from the website

presentation list

The following command displays the 20 latest presentations.

    infoqscraper presentation list -n 20

You can also search for a specific pattern:

    infoqscraper presentation list -p agile

By default at most 10 hits are returned and only the latest 80 presentations are fetched from the website. The -n and -m options can be used to display more hits or to fetch more presentations. Please be a good web citizen and avoid setting -m to a very large value. Using the website or a search engine could be a better idea.

presentation download

The following command automatically downloads the presentation and creates a video file named Distributed-Systems-with-ZeroMQ-and-gevent.avi in the current directory.

    infoqscraper presentation download Distributed-Systems-with-ZeroMQ-and-gevent

It is possible to select between three output formats:

  • legacy: enabled by default this output format includes the slides and the audio track. It is compatible with ffmpeg 0.7 and later and produce mpeg4/mp3 video files.
  • h264: this output format includes the slides and the audio track exactly as the legacy format. However it uses libx264 and produce smaller video files for a similar encoding time. It produces h264/AAC video files.
  • h264_overlay: this output format includes the slides, the audio tracker and the presenter in the bottom-right corner. It uses libx264 and the encoding time is usually 10 times longer than with legacy or h264. A powerful machine is required.

cache module

This module allows to manage the disk cache.

Disk cache is disabled by default and is only useful if you plan to hack on Infoqscraper. To avoid fetching the same resource several time from the server, all fetched resources can be put in cache. This is done by setting the -c global option. The resources are stored in the XDG_CACHE_DIR/infoqscraper directory.

The following command show the size of the cache:

    infoqscraper cache size

And the clear command allows to wipe the cache

    infoqscraper cache clear
Clone this wiki locally