 extension SwiftLinkPreview {
     
     // Extract first URL from text
-    private func extractURL() -> NSURL? {
+    internal func extractURL() -> NSURL? {
         
         let explosion = self.text.characters.split{$0 == " "}.map(String.init)
         
         for var piece in explosion {
             
             piece = piece.trim
-            
-            if let url = NSURL(string: piece.trim) {
-                
-                if url.absoluteString.isValidURL() {
+
+            if piece.isValidURL() {
+                
+                if let url = NSURL(string: piece.trim) {
                     
                     return url
                     

            
            if title.isEmpty {
                
                if let value = Regex.pregMatchFirst(htmlCode, regex: Regex.tittlePattern, index: 2) {
                    
                    if let fromBody: String = self.crawlCode(htmlCode) {
                        

                        if !fromBody.isEmpty {
                            
                            return htmlCode.replace(fromBody, with: "")
                            
                        }
                        
                        
