original_docstring: 
          v: media urls from youtube or facebook
          
docstring: media urls from youtube or facebook
docstring_tokens: media urls from youtube or facebook
code: def to_video(self,v,directory=DOWNLOAD_DIRECTORY):
          """
          v: media urls from youtube or facebook
          """
  
          ydl_opts1 = {
                  'format': 'bestvideo/best'
  
          }
  
          with youtube_dl.YoutubeDL(ydl_opts1) as ydl:
              os.chdir(directory)
              ydl.download([v])
              ydl.params
              ydl.format_resolution
          return None
code_tokens: def to_video ( self , v , directory = DOWNLOAD_DIRECTORY ) : ydl_opts1 = { 'format' : 'bestvideo/best' } with youtube_dl . YoutubeDL ( ydl_opts1 ) as ydl : os . chdir ( directory ) ydl . download ( [ v ] ) ydl . params ydl . format_resolution return None
short_docstring: v: media urls from youtube or facebook
short_docstring_tokens: v : media urls from youtube or facebook
comment: """
          v: media urls from youtube or facebook
          """