diff --git a/report_video.py b/report_video.py index 393799e..a87d482 100644 --- a/report_video.py +++ b/report_video.py @@ -204,6 +204,7 @@ class DailymotionClient: @require_login def process_ticket(self, lis: list): + titles = "\r\n" links = "" ids= [] @@ -220,7 +221,10 @@ class DailymotionClient: links += li['link'] + ",\r\n" logger.info(f"Processing ticket for title: {titles}, link: {links}") self.page.goto(self.url, timeout=3000) - titles = list(set(titles.strip(",\r\n"))) # 去重 + titles_list = [title.strip() for title in titles.split(',')] + unique_titles = list(set(titles_list)) + unique_titles.sort() + titles ="".join(unique_titles) # 去重 description = """We request that you take immediate actionto stop the infringing activity, take steps to ensure that iQIYI Content is notre-posted on, re-linked to, or otherwise available through your site. Pleaseinform us of the actions you have taken and their results. 1) please help remove these videos 2) The drama series titles are {}