---
title: Add a newspaper source
---

How to add a newspaper source ? 

You must implement the `Newspaper` trait for you structure

# 1. Write the `metadata` function

It returns information about the newspaper

# 2. Write the `has_complete_acess` function

Usually, indicates if the user is logged in.
You are encouraged to test on the newspaper webpage by making an http call.

You can use the **TODO** helper function that will look if a specific css
selector is in the page located at the given url.