Jackhammer9 / RedDownloader

A python library to simplify downloading different types of media from reddit
GNU General Public License v3.0
79 stars 14 forks source link

hello after the program runs around 7-10 times it provides me with this error from the api #42

Closed FaresKaranib closed 4 months ago

FaresKaranib commented 1 year ago

Traceback (most recent call last): File "C:\Users\fares\Desktop\Instagram WeakerLimes\Main(Working).py", line 124, in Upload(counter,AmountCounter,posted_authors) File "C:\Users\fares\Desktop\Instagram WeakerLimes\Main(Working).py", line 99, in Upload author = GetMeme(subreddits) File "C:\Users\fares\Desktop\Instagram WeakerLimes\Main(Working).py", line 50, in GetMeme author = post.GetPostAuthors()[0] File "C:\Users\fares\AppData\Local\Programs\Python\Python38\lib\site-packages\RedDownloader\RedDownloader.py", line 701, in GetPostAuthors for author in self.ProcessedLinks: AttributeError: 'DownloadImagesBySubreddit' object has no attribute 'ProcessedLinks' Traceback (most recent call last): File "C:\Users\fares\Desktop\Instagram WeakerLimes\Main(Working).py", line 129, in Upload(counter,AmountCounter,posted_authors) File "C:\Users\fares\Desktop\Instagram WeakerLimes\Main(Working).py", line 99, in Upload author = GetMeme(subreddits) File "C:\Users\fares\Desktop\Instagram WeakerLimes\Main(Working).py", line 50, in GetMeme author = post.GetPostAuthors()[0] File "C:\Users\fares\AppData\Local\Programs\Python\Python38\lib\site-packages\RedDownloader\RedDownloader.py", line 701, in GetPostAuthors for author in self.ProcessedLinks: AttributeError: 'DownloadImagesBySubreddit' object has no attribute 'ProcessedLinks' Traceback (most recent call last): File "C:\Users\fares\Desktop\Instagram WeakerLimes\Main(Working).py", line 129, in Upload(counter,AmountCounter,posted_authors) File "C:\Users\fares\Desktop\Instagram WeakerLimes\Main(Working).py", line 99, in Upload author = GetMeme(subreddits) File "C:\Users\fares\Desktop\Instagram WeakerLimes\Main(Working).py", line 50, in GetMeme author = post.GetPostAuthors()[0] File "C:\Users\fares\AppData\Local\Programs\Python\Python38\lib\site-packages\RedDownloader\RedDownloader.py", line 701, in GetPostAuthors for author in self.ProcessedLinks: AttributeError: 'DownloadImagesBySubreddit' object has no attribute 'ProcessedLinks'

Jackhammer9 commented 1 year ago

Hello there,

Can you provide an example code that is resulting in this issue?

Thanks

FaresKaranib commented 1 year ago

my program is private but if you can provide your email I can share it with you however the main issue is saying that the attribute proccessedlinks has not attribute and this is happening when the prompt author = post.GetPostAuthors()[0] is being used multiple times

FaresKaranib commented 1 year ago

ive tried many things and its clear to me that there's a certain error that occurs from your API when the DownloadImagesBySubreddit is called which leads to an error with smthn to do called processed links. id appreciate a fix

Jackhammer9 commented 1 year ago

I am currently checking out the issue will update this issue as and when i am able to debug. Thank you for your patience.