BitcoinGirl.Club
Legendary
Offline
Activity: 2954
Merit: 2785
Bitcoingirl 2 joined us 💓
|
|
May 14, 2023, 04:15:13 PM |
|
@TryNinja, please check edit of my last post if you missed it already.
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7437
Top Crypto Casino
|
|
May 14, 2023, 04:30:13 PM |
|
I don't know if I misunderstood the script here. My question here is that, you are saying we should re-uploads the uploaded images from the imgur links and to talkimg. com but what about the images that are not the device, can they be found? Because the issue now is the images that are not in the hard drive.
The script grabs the images from the forum and reuploads them on TalkImg. It's an error with TalkImg, maybe load related (or joker_josue is trying to fix CORS while we're talking, which would make the script work without my proxy).
|
|
|
|
psycodad
Legendary
Offline
Activity: 1649
Merit: 1813
精神分析的爸
|
|
May 14, 2023, 04:45:40 PM |
|
Imgur to TalkImg - automatically fix your broken images
<snip>
Thank you very much for your effort, worked like a charm.
|
|
|
|
BitcoinGirl.Club
Legendary
Offline
Activity: 2954
Merit: 2785
Bitcoingirl 2 joined us 💓
|
|
May 14, 2023, 04:46:27 PM |
|
It's an error with TalkImg, maybe load related (or joker_josue is trying to fix CORS while we're talking, which would make the script work without my proxy). I was able to skip the error and rerun the script. Most possibly when it finds a topic which is locked then from the next step it stops working and shows error. In my case the error was on the 33rd page [const startPage = 33] Then I thought to skip the page and started from 34th page [const startPage = 34] It worked until I got the same error on 78th page. [60454365] Uploading image... debugger eval code:138:25 [60454365] Uploaded: https://talkimg.com/images/2023/05/14/blob55aa087fccffd7d7.jpeg debugger eval code:143:29 [60454365] Editing post https://bitcointalk.org/index.php?topic=5404157.msg60454365#msg60454365 debugger eval code:156:25 [60454365] Could not edit post (maybe locked?), deleting uploaded images... Again skipped the error page and started from 79th page [const startPage = 79] It's working. Hopefully it will help for those who are seeing error after running the script for a few minutes. [edit] This is my current status Getting posts on page 136/465 (29%)
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7437
Top Crypto Casino
|
|
May 14, 2023, 04:58:03 PM |
|
Thanks for this work around. How do I set a specific folder for these legacy images?
You can now specify the albumId from TalkImg at the top of the script (if you have an account there). i.e: https://www.talkimg.com/album/XXXX < id
[60454365] Could not edit post (maybe locked?), deleting uploaded images... This won't stop the script, so you can ignore it. Or maybe you're still getting the long "Cross-Origin Request Blocked" message everytime it tries to delete the image from TalkImg?
|
|
|
|
Eternad
|
|
May 14, 2023, 05:02:02 PM |
|
The script is very simple and easy to use. It only took a few minutes to finish replacing all my images and it works like magic. I decided to create a local board version for our board to help my fellow local user to convert all those invalid images from imgur to talking. Link to PH version: https://bitcointalk.org/index.php?topic=5452715.msg62243640#msg62243640Thank you @ TryNinja!
|
|
|
|
BitcoinGirl.Club
Legendary
Offline
Activity: 2954
Merit: 2785
Bitcoingirl 2 joined us 💓
|
|
May 14, 2023, 05:06:49 PM |
|
[60454365] Could not edit post (maybe locked?), deleting uploaded images... This won't stop the script, so you can ignore it. Or maybe you're still getting the long "Cross-Origin Request Blocked" message everytime it tries to delete the image from TalkImg? Before the script stops or actually doesn't move and show any new status, it shows the above warnings and then the errors. That's why I was assuming it's happening once it's receiving a lock topic [(maybe locked?)]. Every time it stops on the error I increment the const startPage with +1 and works just fine. Right now I am on 167 page out of 465.
|
|
|
|
joker_josue
Legendary
Offline
Activity: 1834
Merit: 5019
**In BTC since 2013**
|
|
May 14, 2023, 05:09:34 PM Last edit: May 14, 2023, 05:33:11 PM by joker_josue |
|
Folks, I appreciate your interest in the project, but this has escalated a little more than expected. I inform you that during the next few hours, there may be some disturbance in the upload of new images. Because I'm doing reconfiguration on the servers and sometimes it can take a few hours.Thank you for your understanding and patience! As soon as the situation is more normalized, I will let you know. EDIT: I recommend that you take a break from updating your topics, using this script, until I finish this maintenance that I'm doing, to avoid losing work.Once again, thank you for your understanding.
|
|
|
|
joker_josue
Legendary
Offline
Activity: 1834
Merit: 5019
**In BTC since 2013**
|
|
May 14, 2023, 05:35:23 PM |
|
Sorry for the repeated post. But I suggest a break, because of the maintenance that is being carried out on my server. Before the script stops or actually doesn't move and show any new status, it shows the above warnings and then the errors. That's why I was assuming it's happening once it's receiving a lock topic [(maybe locked?)]. Every time it stops on the error I increment the const startPage with +1 and works just fine. Right now I am on 167 page out of 465.
|
|
|
|
BitcoinGirl.Club
Legendary
Offline
Activity: 2954
Merit: 2785
Bitcoingirl 2 joined us 💓
|
|
May 14, 2023, 05:43:55 PM |
|
Sorry for the repeated post. But I suggest a break, because of the maintenance that is being carried out on my server. Before the script stops or actually doesn't move and show any new status, it shows the above warnings and then the errors. That's why I was assuming it's happening once it's receiving a lock topic [(maybe locked?)]. Every time it stops on the error I increment the const startPage with +1 and works just fine. Right now I am on 167 page out of 465.
I hear you brother. I will be trying it tomorrow again and hoping before that you will be able to fix it. The uploads are definitely creating huge load to your server very similar to a ddos attack if I can relate it
|
|
|
|
yhiaali3
Legendary
Offline
Activity: 1876
Merit: 2007
|
|
May 14, 2023, 05:49:02 PM |
|
Thanks @TryNinja for the effort to create this amazing script. I tried it, at first it worked very well and did a lot of successful substitutions for a lot of the images, but some of the quotes included with the images were not replaced too and I got the following error: Then the script stopped working after only completing 21%. I don't know what exactly caused the error, although it worked fine at first?
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7437
Top Crypto Casino
|
Sorry for the repeated post. But I suggest a break, because of the maintenance that is being carried out on my server.
I put your warning at the top of the topic, let me know when we're good to go. Hopefully I didn't break anything. Then the script stopped working after only completing 21%. I don't know what exactly caused the error, although it worked fine at first?
Read joker_josue's reply above.
|
|
|
|
krogothmanhattan
Cypher Hodl LLC
Legendary
Offline
Activity: 2702
Merit: 3540
The Stone the masons rejected was the cornerstone.
|
|
May 14, 2023, 06:03:11 PM |
|
Thankyou so much for doing this! Mine didnt work here is the results for my thread https://bitcointalk.org/index.php?topic=3315347.0 I cant post the results from the console as it is too large. Any way I can?
|
|
|
|
dimonstration
|
|
May 14, 2023, 06:24:31 PM |
|
Fellow android user. You can use this script too using your mobile phone by installing Kiwi browser. Kiwi browser has a developer feature which allows you to run this script same as using the desktop browser. You just need to make your phone screen on while the script is running to make it continuously running. It will pause when you put the browser in the background or your phone sleep. This script is a game change for manually changing all the broken images on imgur. Thanks OP. Probably the original image that you used exceeded the 2.5mb max file size of talkimg.
|
|
|
|
Stalker22
Legendary
Offline
Activity: 1680
Merit: 1415
|
|
May 14, 2023, 06:39:06 PM |
|
Sorry for the repeated post. But I suggest a break, because of the maintenance that is being carried out on my server.
I put your warning at the top of the topic, let me know when we're good to go. Hopefully I didn't break anything. Perhaps an even better idea would be to include a pop-up message in the script that displays joker_josue's donation address? After all, he is working hard to provide us with a server for all our needs, yet it seems like no one even bothers to donate some coins as a token of appreciation for his efforts. Come on, guys! The man deserves at least a beer for his hard work! By the way, you deserve a donation as well. I will deal with that as soon as the congestion on the network clears up a bit.
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3010
Merit: 7437
Top Crypto Casino
|
I cant post the results from the console as it is too large. Any way I can?
TalkImg uploading is under maintenance, so you can't actually use the script right now. You should see something like this: Could not upload, error: System write error (UPLOAD_ERR_CANT_WRITE)
Perhaps an even better idea would be to include a pop-up message in the script that displays joker_josue's donation address?
You're right. Added!
|
|
|
|
JeromeTash
Legendary
Offline
Activity: 2324
Merit: 1259
Heisenberg
|
|
May 14, 2023, 08:05:14 PM |
|
I haven't checked my whole post history, but the script worked flawlessly for me. In the version where TryNinja forgot to exclude his user ID, all I did was replace it with mine Honestly, I didn't know what I was going to do about changing all my past Imgur linked images to a new image hosting site, but thanks to OP, all is good. Not all Hero wear caps. Respect!
|
|
|
|
joker_josue
Legendary
Offline
Activity: 1834
Merit: 5019
**In BTC since 2013**
|
|
May 14, 2023, 08:25:15 PM |
|
Thanks for all your support! But I really ask for a little patience! As you can imagine, this morning there were about 1k images on the server, now there are almost 5k. This is Sunday and I wasn't expecting this increase so fast! Either way I'm doing everything I can to keep everything online. I ask for your patience and understanding, within a few hours everything should be back to normal. Now I just need some air...
|
|
|
|
Timelord2067
Legendary
Offline
Activity: 3850
Merit: 2242
💲🏎️💨🚓
|
|
May 14, 2023, 11:44:03 PM |
|
Thanks for all your support! But I really ask for a little patience! As you can imagine, this morning there were about 1k images on the server, now there are almost 5k. This is Sunday and I wasn't expecting this increase so fast! Either way I'm doing everything I can to keep everything online. I ask for your patience and understanding, within a few hours everything should be back to normal. Now I just need some air... We really appreciate your time and effort - this is a Hurculean task with a sence of urgency, so hang in there - it's greatly appreciated.
Is there any way to slow down the fetching? I've shut down the page the code was running on ("stop" didn't seem to work) as I was getting these errors:
I haven't checked my whole post history, but the script worked flawlessly for me. In the version where TryNinja forgot to exclude his user ID, all I did was replace it with mine Yes, I did the same thing - I'm not a coder, so I never even looked at the code. I just assumed being logged in was enough, but when I changed it to 131361 - IT WORKED!!
|
|
|
|
joker_josue
Legendary
Offline
Activity: 1834
Merit: 5019
**In BTC since 2013**
|
|
May 15, 2023, 12:51:44 AM |
|
I would like to share here the status of the maintenance that I am carrying out: SITUATION STATUS: Because of the changes that have occurred recently with the Imgur service, there has been a significant increase in TalkImg usage. As you can guess, I had anticipated a gradual increase in usage, not a sudden increase like it has been these past few days. This forced us to readjust plans and move forward with updates to the server earlier than expected.
I have for the past 24 hours made every effort to keep everything up and running. And luckily, I've been able to keep everything up and running. Thank you for all the support and understanding you have given me.
The upgrade process is not over yet, as a new server is being set up for the ImgTalk project. While this process takes place and in order to keep the service online, I inform you that you can upload images, but to maintain stability, each IP can only upload 50 images per hour.
Over the next few hours, I'll be updating the process. Once again I ask for everyone's understanding, in helping to keep everything working.
Once again thank you for your understanding, and I hope to have everything back to normal within a few hours. Soon more news.
|
|
|
|
|