Comments (8)
That sounds good to me as long as the config object is optional. My original goal was simplicity, being able to pass any URL to be cleaned with ease, but I don't mind being able to customize the clean for more advanced users. So far the main options were for AMP links and redirects, as you've probably seen already
from tidy-url.
Thank you
from tidy-url.
I'm not going to let you push code into the main branch that hasn't been tested, reviewed or even seen by me.
from tidy-url.
I am interested in taking this on. I'm thinking (as a first pass at least) of splitting each of the aforementioned things into functions. Also, what are your thoughts on clean()
taking a config object or something so that the caller can decide which parts of the cleaning process they want to run? I'm thinking object to allow for more flexibility & ease in adding/removing options down the line.
from tidy-url.
I am interested. I will refactor the code and add some unit tests to make the method cleaner and more readable. Additionally, I will organize the handlers into different files.
from tidy-url.
I think i do not have permission to push
git push --set-upstream origin refactor/handlers
remote: Permission to DrKain/tidy-url.git denied to apodi.
fatal: unable to access 'https://github.com/DrKain/tidy-url.git/': The requested URL returned error: 403
could you please add me as Collaborator
from tidy-url.
Create a pull request. I'll review it when I get the time and if it's good I'll merge
from tidy-url.
PR is ready for review #108
from tidy-url.
Related Issues (20)
- Request: Expand decode rule HOT 1
- Request: Test runner
- Other: Thoughts on what justifies as an unwanted redirect HOT 2
- Website: patchbot.io
- Bug: InvalidCharacterError: String contains an invalid character
- Broken: google.com HOT 1
- Website: vi-control.net HOT 4
- Bug: Re-clean occurs more than once HOT 1
- Broken: stardockentertainment.info
- Website: manor.ch HOT 1
- Website: ojrq.net HOT 1
- Website: knowyourmeme.com
- Website: wfaa.com
- Website: cbsnews.com
- Website: jdt8.net HOT 1
- Bug: No utm tracker cleaned when allow_amp rule is set to true HOT 6
- Update: reddit.com
- Update: open.spotify.com
- Website: adclick.g.doubleclick.net HOT 1
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 tidy-url.