These are the most common errors and are handled by the ``waybacktweets`` package.
ReadTimeoutError
-----------------
+------------------
This error occurs when a request to the web.archive.org server takes too long to respond. The server could be overloaded or there could be network issues.
The output message from the package would be: ``Connection to web.archive.org timed out.``
ConnectionError
-----------------
+------------------
This error is raised when the package fails to establish a new connection with web.archive.org. This could be due to network issues or the server being down.
The warning output message from the package would be: ``Connection error with https://web.archive.org/web/<TIMESTAMP>/https://twitter.com/<USERNAME>/status/<TWEET_ID>. Max retries exceeded. Error parsing the JSON, but the CDX data was saved.``
HTTPError
-----------------
+------------------
This error occurs when the Internet Archive services are temporarily offline. This could be due to maintenance or server issues.
The output message from the package would be: ``Temporarily Offline: Internet Archive services are temporarily offline. Please check Internet Archive Twitter feed (https://twitter.com/internetarchive) for the latest information.``
EmptyResponseError
-----------------------
+---------------------
This exception raised for empty responses.
The output message from the package would be: ``No data was saved due to an empty response.``
+
+Warning
+------------------
+
+It is possible to encounter the following warning when running the ``TweetsParser`` class (:ref:`parser`): ``<TWEET_URL> not available on the user's Twitter account, but the CDX data was saved.``
+
+This occurs when the original tweet is no longer available on Twitter and has possibly been deleted.
quickstart
workflow
field_options
+ outputs
exceptions
contribute
todo
--- /dev/null
+Outputs
+==========
+
+It is possible to save the CDX data in three formats. In the command line tool, these three formats are saved automatically.
+
+HTML
+--------
+
+This format allows for easy viewing of the archived tweets, through the use of the ``iframe`` tag. Each tweet contains four viewing options, which render when clicking on the accordion:
+
+- ``archived_tweet_url``: (`str`) The archived URL.
+
+- ``parsed_archived_tweet_url``: (`str`) The archived URL after parsing. It is not guaranteed that this option will be archived, it is just a facilitator, as the originally archived URL does not always exist, due to changes in URLs and web services of the social network Twitter. Check the :ref:`utils`.
+
+- ``original_tweet_url``: (`str`) The original tweet URL.
+
+- ``parsed_tweet_url``: (`str`) The original tweet URL after parsing. Old URLs were archived in a nested manner. The parsing applied here unnests these URLs, when necessary. Check the :ref:`utils`.
+
+Additionally, other fields are displayed.
+
+CSV
+--------
+
+Option to analyze the CDX data in comma-separated values.
+
+JSON
+--------
+
+Option to analyze the data in JavaScript Object Notation.
Legacy App
-------------
-To access the legacy version (v0.4.3) of Wayback Tweets `click here <https://waybacktweets-legacy.streamlit.app>`_.
-
+To access the legacy version of Wayback Tweets `click here <https://waybacktweets-legacy.streamlit.app>`_.
.. note::