Closed Tizioincognit0 closed 1 year ago
Unfortunately this is because Google blocks your IP. They changed the security rules and now IP blocking, I added some random sleep between request but this is not enough. There should be some smarter way.
it isn't translating at all now
it isn't translating at all now
I'm still able to translate partially.
Unfortunately this is because Google blocks your IP. They changed the security rules and now IP blocking, I added some random sleep between request but this is not enough. There should be some smarter way.
Probably the smarter way is used by https://github.com/SubtitleEdit/subtitleedit which doesn't have this issue and makes complete translations using Google Translate even if it doesn't support batch/bulk translations.
@Tizioincognit0, I released v2 by implementing raw translation via googletranslatepy. If you have time, please check it and feel free to contribute.
The new version translated a long subtitle successfully.
1420
01:38:46,208 --> 01:38:51,583
<i>Devam et, biz ışık
Atış, kalp devam ediyor</i>
1421
01:38:55,208 --> 01:39:00,541
<i>Devam et, biz ışık</i>
<i>Atım, kalp devam ediyor</i>
Translated by subtitle_translator via google translator
written by Mesut Gunes: https://github.com/gunesmes/subtitle_translator
New file name: /Users/mesutgunes/Projects/personal/subtitle_translator/An.Unforgettable.Year.Autumn.2023_en_to_tr.srt
Duration: 0:12:46.338071
When i’m trying to translate a subtitle file (for example “still-alice”), the first 63 lines are translated but the following ones aren't. I’m getting the following errors and I'm using subtitle_translator on macOS Mojave 10.14.6.