I was looking for a way to get all the URLs (Webadresses) for every single 365 video in my Ipernity project album. The ones that are linked with "more info".
I found a way with Textmate that i want to keep in mind for later and maybe it helps you as well.
Here we go ...
1. i saved the source code of that page
2. then i tried to find the part with the links i wanted to strip
3. Then i found that nice filtering feature in the bundles menu-item (selected all the text first - think that is important)
4. this process creates a new document looking like this:
5. all i needed to do now was delete the parts i don't need via find and replace - what made it look like this:
6. last step was to add the absolute part before the /doc/ with anothe search & replace:
result:
And that was what i needed. Maybe there are other ways, but i was happy to find this one, cause it saved me from lots of copy/pasting. :)
Send a message
Search for members







Underscan says:
wget www.ipernity.com/doc/assbach/album/36145
grep "more info" 36145 | cut --characters=23-42 | sed 's/^/http:\/\/www.ipernity.com/g' | sort > ipernity_album-36145
This will give you a text file called "ipernity_album-36145" containing all the desired links.
assbachpro replies:
Underscan replies:
Ansonsten ist das auch nur ein schnell zusammengewürfeltes Befehlssammelsurium und nicht unbedingt fehlertolerant. :)
assbachpro replies:
Doomshammer replies:
Doomshammer says:
curl www.ipernity.com/doc/assbach/album/36145 | grep "more info" | perl -pe 's|.+href="(/doc/assbach/\d+)/.+|http://www.ipernity.com$1|'
;-)
assbachpro replies:
--
Seen in my account recent activity (?)
Doomshammer replies:
Christophe Ruellepro says:
(the API method explorer will get the result in a second)