mirror of
https://github.com/Alvin-Zilverstand/Twitter-X-Media-Batch-Downloader.git
synced 2026-11-25 07:44:00 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb2a244e37 | ||
|
|
096425a0e1 | ||
|
|
c01a995b3d | ||
|
|
b28b4ef14c |
No files matched your search
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
## Download
|
## Download
|
||||||
|
|
||||||
- Download the latest version of [TwitterXMediaBatchDownloader](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v1.5/TwitterXMediaBatchDownloader.exe)
|
- Download the latest version of [TwitterXMediaBatchDownloader](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/releases/download/v1.6/TwitterXMediaBatchDownloader.exe)
|
||||||
- If you're familiar with **userscripts**, please install it [here](https://greasyfork.org/en/scripts/523157-twitter-x-media-batch-downloader)
|
- If you're familiar with **userscripts**, please install it [here](https://greasyfork.org/en/scripts/523157-twitter-x-media-batch-downloader)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
> X.com Auth Token Grabber
|
> X.com Auth Token Grabber
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
> Developer Tools
|
> Developer Tools
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import re
|
|||||||
import subprocess
|
import subprocess
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
from packaging import version
|
||||||
from PyQt6.QtWidgets import (QApplication, QMainWindow, QWidget, QVBoxLayout,
|
from PyQt6.QtWidgets import (QApplication, QMainWindow, QWidget, QVBoxLayout,
|
||||||
QHBoxLayout, QLabel, QLineEdit, QPushButton,
|
QHBoxLayout, QLabel, QLineEdit, QPushButton,
|
||||||
QProgressBar, QFileDialog, QRadioButton, QComboBox,
|
QProgressBar, QFileDialog, QRadioButton, QComboBox,
|
||||||
@@ -380,7 +381,7 @@ class UpdateDialog(QDialog):
|
|||||||
class TwitterMediaDownloaderGUI(QMainWindow):
|
class TwitterMediaDownloaderGUI(QMainWindow):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.current_version = "1.5"
|
self.current_version = "1.6"
|
||||||
self.setWindowTitle("Twitter/X Media Batch Downloader")
|
self.setWindowTitle("Twitter/X Media Batch Downloader")
|
||||||
|
|
||||||
self.settings = QSettings('TwitterMediaDownloader', 'Settings')
|
self.settings = QSettings('TwitterMediaDownloader', 'Settings')
|
||||||
@@ -412,7 +413,7 @@ class TwitterMediaDownloaderGUI(QMainWindow):
|
|||||||
data = response.json()
|
data = response.json()
|
||||||
new_version = data.get("version")
|
new_version = data.get("version")
|
||||||
|
|
||||||
if new_version and new_version != self.current_version:
|
if new_version and version.parse(new_version) > version.parse(self.current_version):
|
||||||
dialog = UpdateDialog(self.current_version, new_version, self)
|
dialog = UpdateDialog(self.current_version, new_version, self)
|
||||||
result = dialog.exec()
|
result = dialog.exec()
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"version": "1.5"
|
"version": "1.6"
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user