File size: 1,379 Bytes
3a7f06a
1
{"nwo":"A3M4\/YouTube-Report","sha":"dcdbc29e8c05fca643da03ca0ae3fa7bd1b8d0a9","path":"parse.py","language":"python","identifier":"HTML._find_times","parameters":"(self)","argument_list":"","return_statement":"return times","docstring":"Find and format times within the HTML file.\n\n        Returns\n        -------\n        times : List[str]\n            e.g. \"19 Feb 2013, 11:56:19 UTC Tue\"","docstring_summary":"Find and format times within the HTML file.","docstring_tokens":["Find","and","format","times","within","the","HTML","file","."],"function":"def _find_times(self):\n        \"\"\"\n        Find and format times within the HTML file.\n\n        Returns\n        -------\n        times : List[str]\n            e.g. \"19 Feb 2013, 11:56:19 UTC Tue\"\n        \"\"\"\n        # Format all matched dates\n        times = [\n            datetime_obj.strftime(\"%d %b %Y, %H:%M:%S UTC %a\")\n            for datetime_obj in self._find_times_datetime()\n        ]\n        return times","function_tokens":["def","_find_times","(","self",")",":","# Format all matched dates","times","=","[","datetime_obj",".","strftime","(","\"%d %b %Y, %H:%M:%S UTC %a\"",")","for","datetime_obj","in","self",".","_find_times_datetime","(",")","]","return","times"],"url":"https:\/\/github.com\/A3M4\/YouTube-Report\/blob\/dcdbc29e8c05fca643da03ca0ae3fa7bd1b8d0a9\/parse.py#L93-L107"}