-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
147 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
;; Author: Thanh Vuong <[email protected]> | ||
;; URL: https://github.com/thanhvg/howdoyou/ | ||
;; Package-Requires: ((emacs "25.1") (promise "1.1") (request "0.3.3") (org "9.2")) | ||
;; Version: 0.3.0 | ||
;; Version: 0.4.0 | ||
|
||
;; This program is free software; you can redistribute it and/or modify | ||
;; it under the terms of the GNU General Public License as published by | ||
|
@@ -155,7 +155,8 @@ | |
"Extract links inside r class from DOM." | ||
(let ((my-nodes (dom-by-class dom class))) | ||
(mapcar (lambda (a-node) | ||
(dom-attr (dom-child-by-tag (car (dom-children a-node)) 'a) 'href)) | ||
;; (setq thanh a-node) | ||
(dom-attr (dom-child-by-tag (nth 2 (nth 2 a-node)) 'a) 'href)) | ||
my-nodes))) | ||
|
||
(defun howdoyou--extract-links-from-google (dom) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.