





import warnings

from ...utils import logging
from .image_processing_videomae import VideoMAEImageProcessor


__lowerCamelCase       :     str   =     logging.get_logger(__name__)



class 					A__   (       __a			):





      def __init__( self       ,							*A_       ,							**A_   ):
       '''simple docstring'''




       warnings.warn(
           "The class VideoMAEFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
           " Please use VideoMAEImageProcessor instead."       ,							A_       ,							)
       super().__init__(*A_       ,							**A_   )






'''simple docstring'''







from datetime import datetime

import requests
from bsa import BeautifulSoup

if __name__ == "__main__":
   A     =input('Enter image url: ').strip()
   print(f"""Downloading image from {url} ...""")
   A     =BeautifulSoup(requests.get(url).content, 'html.parser')
   # The image URL is in the content field of the first meta tag with property og:image
   A     =soup.find('meta', {'property': 'og:image'})['content']
   A     =requests.get(image_url).content
   A     =f"""{datetime.now():%Y-%m-%d_%H:%M:%S}.jpg"""
   with open(file_name, 'wb') as fp:
      fp.write(image_data)
   print(f"""Done. Image saved to disk as {file_name}.""")




