Ver código fonte

Fix duplicate files

pull/5/head
tech234a 3 anos atrás
pai
commit
14ab70a0ff
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      export.py

+ 1
- 1
export.py Ver arquivo

@@ -130,7 +130,7 @@ def subprrun(jobs, mysession):
if '<li id="captions-editor-nav-captions" role="tab" data-state="published" class="published">' in inttext: if '<li id="captions-editor-nav-captions" role="tab" data-state="published" class="published">' in inttext:
jobs.put((langcode, vid, "forceedit-captions")) jobs.put((langcode, vid, "forceedit-captions"))


if 'id="reject-captions-button"' in inttext or 'id="reject-metadata-button"' in inttext or 'data-state="published"' in inttext or 'title="The video owner already provided subtitles/CC"' in inttext or "forceedit" in mode: #quick way of checking if this page is worth parsing
if 'id="reject-captions-button"' in inttext or 'id="reject-metadata-button"' in inttext or 'data-state="published"' in inttext or 'title="The video owner already provided subtitles/CC"' in inttext: #quick way of checking if this page is worth parsing
parser = MyHTMLParser() parser = MyHTMLParser()
parser.feed(inttext) parser.feed(inttext)




Carregando…
Cancelar
Salvar