<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_episodes(self, series_id, **kwargs):
 """All episodes for a given series. Paginated with 100 results per page. .. warning:: authorization token required The following search arguments currently supported: * airedSeason * airedEpisode * imdbId * dvdSeason * dvdEpisode * absoluteNumber * page :param str series_id: id of series as found on thetvdb :parm kwargs: keyword args to search/filter episodes by (optional) :returns: series episode records :rtype: list """

        params = {'page': 1}
        for arg, val in six.iteritems(kwargs):
            if arg in EPISODES_BY:
                params[arg] = val
        return self._exec_request(
            'series',
            path_args=[series_id, 'episodes', 'query'], params=params)['data']