Comments (2)
Hi there, I've actually been thinking about both of these features for a while:
- I would like to do this, I know how to make the cell text change, but don't know how to change the color, which I have wanted to do, just need to look into it.
- I've also been thinking about this for a while too, the current html saving method is terrible, and I don't really pay attention to it at all (e.g. the image links, etc are broken). But it's been good in the meantime just to save the text.
Currently I've been working on adding 8kun.top support (currently working!
And also adding some auto-update checking functionality that automatically installs the latest version for you with the click of a button.
Thanks for letting me know your suggestions, please keep them coming if you have anymore! And thanks for finding the bug too, I will definitely fix that in the next release.
Also glad to hear that you get lots of use out of my program, that helps motivate me greatly :)
from gchan.
For the record i am "eva1-x-3" but i forgot my password for both GitHub and email so i can't get the previous account back.
I can't wait for GChan to work with 8kun/8chan too! Good luck!
I have some other suggestions, and another small bug i found but is it better to open an issue for them separately, or write it all in one issue like i did last time?
By the way here is some information i found regarding changing cell background color and a possible dirty fix for checking if threads are deleted/archived:
I'm not sure if these links help due to my lack of programming skills, and these solutions may be dirty or impossible to optimize etc but maybe they are of help.
If information like this is not needed or helpful don't hesitate to tell me! I'm simply looking for it because i know it takes time to look stuff up and thought it might be helpful.
I opened the project and saw you using DataGridView. Visual studio was very confusing so i might have looked at the wrong part of the project.
Here is a way to change background colour in cells made with DataGridView in C#:
https://www.csharp-console-examples.com/winform/change-datagridview-cell-color-programmatically-in-c/
https://stackoverflow.com/questions/16105718/datagridview-changing-cell-background-color
Regarding detecting if the thread is Deleted (resulting in 404 redirect on 4chan) or archived:
- If the thread url results in a 404 redirect (is deleted):
https://stackoverflow.com/questions/2538895/c-sharp-detect-page-redirect
- If the thread is archived (and not resulting in redirect) one can read the html file for a specific string:
https://social.msdn.microsoft.com/Forums/en-US/0ffab121-570e-4b94-8bc6-0fe86c1634fb/how-to-read-specific-text-from-html
And look for the <div class="closed">Thread archived.<br>You cannot reply anymore.</div>
or simply the <div class="closed">
which are only present in archived threads.
from gchan.
Related Issues (9)
- Unable to scrape 4chan /b/ board HOT 1
- Application freezes and needs to be force closed when adding multiple boards HOT 1
- 4archive.org support?
- removing threads on any error not just 404 HOT 1
- Windows Portable crashes HOT 7
- Clearing list won't rename folders. HOT 1
- URL list not saving on closing and thread list info not updating until getting clicked and scrolling issue HOT 3
- 8kun makes GChan crash and it marks them as gone HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gchan.