<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _script_to_har_entry(cls, script, url):
        ''' Return entry for embed script '''
        entry = {
            'request': {'url': url},
            'response': {'url': url, 'content': {'text': script}}
        }

        cls._set_entry_type(entry, INLINE_SCRIPT_ENTRY)

        return entry