commented out the results output to txt file
This commit is contained in:
@@ -50,8 +50,8 @@
|
|||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
p, li { white-space: pre-wrap; }
|
p, li { white-space: pre-wrap; }
|
||||||
</style></head><body style=" font-family:'Cantarell'; font-size:11pt; font-weight:400; font-style:normal;">
|
</style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;">
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Dubai</p></body></html></string>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Cantarell';">Dubai</span></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QTextEdit" name="Limit">
|
<widget class="QTextEdit" name="Limit">
|
||||||
@@ -152,7 +152,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</date>
|
</date>
|
||||||
</property>
|
</property>
|
||||||
<property name="displayFormat">
|
<property name="displayFormat">
|
||||||
<string>yyyy/M/dd</string>
|
<string>dd/M/yyyy</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="calendarPopup">
|
<property name="calendarPopup">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
@@ -191,7 +191,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</date>
|
</date>
|
||||||
</property>
|
</property>
|
||||||
<property name="displayFormat">
|
<property name="displayFormat">
|
||||||
<string>yyyy/M/dd</string>
|
<string>dd/M/yyyy</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="calendarPopup">
|
<property name="calendarPopup">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
|||||||
12
twintgui.py
12
twintgui.py
@@ -11,8 +11,7 @@ from PySide6.QtCore import Slot
|
|||||||
import sqlite3
|
import sqlite3
|
||||||
|
|
||||||
#Ggsya made this :D
|
#Ggsya made this :D
|
||||||
def backslash():
|
backslash = '\\'
|
||||||
return('\ '[0])
|
|
||||||
|
|
||||||
#def check_and_create_dir(path):
|
#def check_and_create_dir(path):
|
||||||
#if os.path.exists(path):
|
#if os.path.exists(path):
|
||||||
@@ -57,8 +56,9 @@ def tweet_search():
|
|||||||
c.Popular_tweets = window.Popular.checkState()
|
c.Popular_tweets = window.Popular.checkState()
|
||||||
c.Output = filename
|
c.Output = filename
|
||||||
c.timedelta = '2'
|
c.timedelta = '2'
|
||||||
#c.Since =
|
c.Since = window.Since.date().toString()
|
||||||
#c.Until = window.Until.date().toString()
|
c.Until = window.Until.date().toString()
|
||||||
|
|
||||||
#c.Username =
|
#c.Username =
|
||||||
|
|
||||||
twint.run.Search(c)
|
twint.run.Search(c)
|
||||||
@@ -73,7 +73,9 @@ window = loader.load("mainwindow.ui", None)
|
|||||||
|
|
||||||
#window.SearchButton.clicked.connect(date_cruncher)
|
#window.SearchButton.clicked.connect(date_cruncher)
|
||||||
window.SearchButton.clicked.connect(tweet_search)
|
window.SearchButton.clicked.connect(tweet_search)
|
||||||
|
print(window.Since.date().toString())
|
||||||
|
print(window.Until.date().toString())
|
||||||
window.show()
|
window.show()
|
||||||
|
|
||||||
#print(window.Since.date().toString())
|
|
||||||
app.exec()
|
app.exec()
|
||||||
|
|||||||
Reference in New Issue
Block a user