<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by NVA on Medium]]></title>
        <description><![CDATA[Stories by NVA on Medium]]></description>
        <link>https://medium.com/@nehuenv620?source=rss-9fce0dd24940------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*L_iZRf1vrjN3JJfpt6Ju-Q.jpeg</url>
            <title>Stories by NVA on Medium</title>
            <link>https://medium.com/@nehuenv620?source=rss-9fce0dd24940------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 19:26:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nehuenv620/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[That New Phone is Not What You Need, Hear Me out Before it’s Too Late!!]]></title>
            <link>https://medium.com/illumination/that-new-phone-is-not-what-you-need-hear-me-out-before-its-too-late-b70c3a5b9c9a?source=rss-9fce0dd24940------2</link>
            <guid isPermaLink="false">https://medium.com/p/b70c3a5b9c9a</guid>
            <category><![CDATA[experience]]></category>
            <category><![CDATA[traveling]]></category>
            <category><![CDATA[frugal]]></category>
            <category><![CDATA[motivational]]></category>
            <category><![CDATA[motivation]]></category>
            <dc:creator><![CDATA[NVA]]></dc:creator>
            <pubDate>Fri, 20 Sep 2024 15:40:04 GMT</pubDate>
            <atom:updated>2024-09-20T15:40:04.874Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="A shattered smartphone" src="https://cdn-images-1.medium.com/max/1024/1*lHMtfrhWpKDkfAMIYQ7dRg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@laurar1vera?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Laura Rivera</a> on <a href="https://unsplash.com/photos/white-iphone-5-c-on-black-surface-3a7SyW0h8vQ?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><p><em>You can’t compare the kiss of the wind with an impulse purchase at a store…</em></p><h3>The goddamn LUXURY</h3><figure><img alt="A Rolls Royce" src="https://cdn-images-1.medium.com/max/1024/0*CAEjJJuvHn2DeTwt" /><figcaption>Photo by <a href="https://unsplash.com/@chernus_tr?utm_source=medium&amp;utm_medium=referral">Taras Chernus</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I realized something obvious: <strong>we often look for luxury</strong> and get ourselves into debt just for the sake of having something that most of the time we don’t need. Ephemeral things that will possibly last less than 5 years, like a new phone or gadget.</p><p>We buy those goods with money, but it represents something bigger. It represents the amount of hours we worked to get them.</p><p>Let’s say you earn $20 per hour. Buying that wonderful, brand new iPhone 15 that costs around $1000… With some simple math, you may realize it’s worth 50 hours of work… 50 hours!!</p><p>And that is when you live in a first-world country where $20 per hour is something common (and even considered low). Now imagine in other places where that same phone could cost you 100, or even 200 hours of work.</p><p>But you are going to work those hours anyway, so why do I bother making this article… Or:</p><h3>Having lived that</h3><figure><img alt="Wind blowing through the wheat" src="https://cdn-images-1.medium.com/max/1024/0*iN-upi76VRrfZd4Z" /><figcaption>Photo by <a href="https://unsplash.com/@schwiet?utm_source=medium&amp;utm_medium=referral">seth schwiet</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Traveling to the beach, swimming at a lake with friends, going to the cinema, and laughing at how bad the movie was.</p><p>having gone to an old town, having done a certain outdoor activity, anything that you can remember with a smile on your face. Those are all <strong>experiences.</strong></p><p><strong><em>Experiences</em></strong><em>! That is all we carry, what will remain with us across our lives.</em></p><p>I realized this pretty soon in my life, and to be honest, that’s an awesome privilege.</p><p>When I had my first trip outside of my home province, 1000 km away (the one I talked about in a separate article), I had an amazing time and experienced so many different things I never thought I’d experience. So when I had my flight back home, I wasn’t sad…</p><p>I was eager, incredibly eager to tell my family what had happened. I told them with so much enthusiasm that they got happy too!</p><p>And now that I think about these memories, I’m feeling great again just for remembering them once more!</p><p>And then I realized these things were 10 times more worthy to invest in, rather than the 3 or 4 days of happiness that a new monitor I don’t need but wanted could give me 😅.</p><h3>Don’t get me wrong.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jqqzxWEb7royx4PM" /><figcaption>Photo by <a href="https://unsplash.com/@nate_dumlao?utm_source=medium&amp;utm_medium=referral">Nathan Dumlao</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I’m not saying don’t buy a phone… what I’m trying to say is: <em>did you need to buy that expensive iPhone or similar?</em></p><p><em>Have you ever questioned whether you were ever going to use all of its features and its fullest potential?</em></p><p>Unfortunately, most of us struggle to impress others. We buy just for the status, we dress to impress, have fancy dinners so that our neighbor can think we are <strong>“someone“</strong>…</p><p>Experiences are the only thing that will remain with us during all of our lives, that memorable trip with friends where you did so much stuff and met so many interesting people that you will even share with your grandchildren in the future.</p><p>That story you’ll never be able to forget, <strong>nor want to</strong>.</p><p>Things you can’t easily put a price to, unlike items/goods, because…</p><blockquote><strong><em>“What price does a fragment of happiness and life have?“</em></strong></blockquote><p>Difficult question, right? 😅</p><h3>Your Part Now!!</h3><figure><img alt="“You Got This” written on the ground with chalk" src="https://cdn-images-1.medium.com/max/1024/0*aa_ZuCoy5QUVyWn0" /><figcaption>Photo by <a href="https://unsplash.com/@srz?utm_source=medium&amp;utm_medium=referral">sydney Rae</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Now reconsider whenever you want to buy that expensive thing that’s not going to bring you any further joy in your life. Buy the good but affordable one, save that money, and do that thing you always wanted to do with your friends, parents, siblings, children, or whoever.</p><p>Go climb that mountain, bungee jump, throw yourself from a helicopter, spend some days in another city, watch that play in the theater, just do it!</p><p>You’re not gonna take that 80” TV to the grave, but rather it’s gonna break in the next 10 years, in contrast to the experience of… <strong>Having lived.</strong></p><p>Now tell me, <em>what experience is itching in your heart and soul, that you’re craving to live?</em></p><p>By the way, If you’re lazy like me and struggle to do stuff you want to do, check my Life RPG Notion Template to gamify your life:</p><p><a href="https://nehuenv.gumroad.com/l/life_RPG_notion_template">Life RPG Notion Template | Gamify your Productivity</a></p><p>This is the base version, I’m building a more complex template to accomplish any task you want, and enjoy the process! (Your feedback will be highly appreciated!).</p><p>This and many more interesting templates for developers and common people (we are not considered common 😂) you’ll be able to see someday!</p><p>If you liked what you read, don’t doubt to take a look at my other articles:</p><ul><li><a href="https://medium.com/@nehuenv620/6-things-ive-learned-so-far-in-21-years-of-life-b9fe2e8ef832">6 Things I’ve learned so far in 21 years (of life)</a></li><li><a href="https://medium.com/@nehuenv620/music-lets-you-enjoy-life-better-dont-let-anyone-tell-you-otherwise-why-music-helps-you-be-d4723184d81e">Music lets you enjoy life better, don’t let anyone tell you otherwise ♫♪| Why music helps you be…</a></li><li><a href="https://medium.com/@nehuenv620/stop-planning-everything-embracing-spontaneity-and-what-my-sudden-trip-to-san-rafael-taught-me-02e8e20638e6">Stop Planning Everything!🤯 | Embracing Spontaneity and What My Sudden Trip To San Rafael Taught Me</a></li></ul><p>Cheers,</p><p>Nehuen</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b70c3a5b9c9a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/illumination/that-new-phone-is-not-what-you-need-hear-me-out-before-its-too-late-b70c3a5b9c9a">That New Phone is Not What You Need, Hear Me out Before it’s Too Late!!</a> was originally published in <a href="https://medium.com/illumination">ILLUMINATION</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improve web scraping with only 1 command | scrapy python]]></title>
            <link>https://medium.com/technology-hits/improve-web-scraping-with-only-1-command-scrapy-python-b983158e3623?source=rss-9fce0dd24940------2</link>
            <guid isPermaLink="false">https://medium.com/p/b983158e3623</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[scrapy]]></category>
            <category><![CDATA[data-extraction]]></category>
            <category><![CDATA[web-scraping]]></category>
            <dc:creator><![CDATA[NVA]]></dc:creator>
            <pubDate>Thu, 19 Sep 2024 19:48:18 GMT</pubDate>
            <atom:updated>2024-09-19T19:48:18.443Z</atom:updated>
            <content:encoded><![CDATA[<h3>Improve web scraping with only one command | scrapy python</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QK0b01OgX0AoWVM6Xp4KHA.png" /><figcaption>Amazed person in front of a monitor generated by DALLE AI</figcaption></figure><p>Have you always wanted to see what you could scrape from a website before testing it element by element?</p><p>You know, making that tedious process quicker…</p><p>This was a huge deal when I was working with beautifulsoup and selenium. It used to take me hours to check what elements were scrapable and what elements were not accessible that easily, like inside of an iframe.</p><p>but later, after I started working with Scrapy (yeah, I was afraid of it the first time 😅), I realized that there was a solution, and it was simpler than I thought!</p><h3>view(response)</h3><p>It’s clear that scrapy itself gives you the ability to do a lot more testing before putting your hands in the actual scraper (spider).</p><p>And that playground for testing is the scrapy shell, that most of you know can access by simply writing this command in the terminal:</p><pre>scrapy shell</pre><p>And this is a huge deal coming from beautifulsoup and Selenium! 😎</p><p>But I’m talking about view(response), this one function I mentioned in the title for the interactive shell is a game changer:</p><pre>fetch(&quot;Url.com&quot;)</pre><pre>view(response)</pre><p>This command will open a window on your default browser. There, you can see the rendered raw HTML document with all the information it has.</p><p>I mean, all the information that was received from the request with the fetch function, therefore every element that is available for you to scrape!!</p><p>For example, this is Elton John’s Wikipedia page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*d_Js4WI-2GL5WKao.png" /><figcaption>Elton John’s Wikipedia page screenshot</figcaption></figure><p>And this might be pretty simple to know since Wikipedia is mostly raw HTML.</p><p>But if you use the view(response) command in the shell for this website, you’ll see your browser opening and showing you this:</p><pre>fetch(&quot;https://en.wikipedia.org/wiki/Elton_John&quot;)<br>view(response)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8W-OPKtoMaZ5PtWD.png" /><figcaption>Elton John’s Wikipedia page screenshot</figcaption></figure><p>Which is almost the same as the previous page 😅, now you know everything you see is scrapable with scrapy!</p><p>This way, you just saved one little step in the process of web scraping. Believe me, I discovered this recently and now I just can’t stop using it. It is really useful and saves you a lot of time while using this awesome framework.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b983158e3623" width="1" height="1" alt=""><hr><p><a href="https://medium.com/technology-hits/improve-web-scraping-with-only-1-command-scrapy-python-b983158e3623">Improve web scraping with only 1 command | scrapy python</a> was originally published in <a href="https://medium.com/technology-hits">Technology Hits</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You Can’t Carry On Without These Web Scraping Tips | 3 Scrapy & Python Tips To enhance your Web…]]></title>
            <link>https://medium.com/technology-hits/you-cant-carry-on-without-these-web-scraping-tips-3-scrapy-python-tips-to-enhance-your-web-e8481b32b171?source=rss-9fce0dd24940------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8481b32b171</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-mining]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <category><![CDATA[web-scraping]]></category>
            <dc:creator><![CDATA[NVA]]></dc:creator>
            <pubDate>Wed, 07 Aug 2024 08:14:19 GMT</pubDate>
            <atom:updated>2024-08-07T08:14:19.338Z</atom:updated>
            <content:encoded><![CDATA[<h3>🔥You Can’t Carry On Without These Web Scraping Tips🔥 | 3 Scrapy &amp; Python Tips To enhance your Web Scraping 100%</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V3MXeo_2Ef3Q3XberwdlXw.jpeg" /><figcaption>Picture generated by the author with Pixlr AI</figcaption></figure><p>Avoid getting deemed as a bot, handle API responses with different request methods, and look like a professional.</p><p>If you’re starting at Scrapy and don’t know where to look (believe me, I know what it feels like!), these tips are ideal for you.</p><h3>1. Pass Arguments From One Function To The Other</h3><p>This is pretty simple!</p><p>Most of the time, we want to send an argument from one function to the other and we don’t know how to. The answer is simple: <strong>callbacks and meta parameters.</strong></p><p>These two can be used in Scrapy Spider’s functions to pass one argument to another function.</p><p><strong>Callback</strong></p><pre>def parse(self, response):<br>    &quot;&quot;&quot;<br>    Here you do the interesting stuff...<br>    &quot;&quot;&quot;<br>    apples = 2<br>    yield scrapy.Request(&quot;Next url&quot;, callback=self.parse_issue_page, cb_kwargs={&quot;app&quot;:apples})<br><br>#Next function:<br><br>def parse_issue_page(self, response, apples):<br>    &quot;&quot;&quot;<br>    Here you&#39;d do even more interesting stuff!<br>    Or non-interesting stuff, us devs are really boring (except me...)<br>    &quot;&quot;&quot;<br>    apple_tree = apples**2<br>    yield apple_tree<br></pre><p><strong>Meta</strong></p><pre>def parse(self, response):<br>    &quot;&quot;&quot;<br>    Here you do the interesting stuff...<br>    &quot;&quot;&quot;<br>    <br>    apples = 2<br>    <br>    yield scrapy.Request(&quot;Next url&quot;, callback=self.parse_issue_page, meta={&quot;app&quot;:apples})<br><br>def parse_issue_page(self, response):<br>    &quot;&quot;&quot;<br>    Here you&#39;d do even more interesting stuff!<br>    Or non-interesting stuff, us devs are really boring (except me...)<br>    &quot;&quot;&quot;<br>    <br>    apple_tree = response.meta[&quot;app&quot;]**2<br>    <br>    yield apple_tree<br></pre><h3>2. Use User-Agents to avoid suspicion</h3><p>Everybody knows this tip!</p><p>But it is essential to mention it. If you don’t want to get caught while scraping in Scrapy, you must change your user agent from the default to another one… I mean any other UA will do 😅</p><p>To do this, you must go to the Scrapy Spider settings and set the user agent variable to your desired user agent:</p><pre># Insettings.py file<br><br># Crawl responsibly by identifying yourself (and your website) on the user-agent<br>USER_AGENT = &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36&quot;<br>#Or any other UA you might want to use, I&#39;m not obligating you to use that one 😜</pre><h3>3. Handle Different Request Methods</h3><p>With these tips, you’ll be able to scrape websites with Scrapy and retrieve the data from APIs that require either POST requests or any request type other than GET (the default).</p><p>Incredibly useful 😎</p><p>On the shell:</p><pre>#In scrapy shell<br><br>fetch(URL)<br><br>request = request.replace(method=&quot;POST&quot;)<br><br>fetch(request)</pre><p>On the spider:</p><pre># On the spider&#39;s class<br><br>def start_requests(self):<br>yield scrapy.Request(&quot;www.nva_the_great.com&quot;,<br>                        callback=self.parse,<br>                        method=&quot;POST&quot;)<br>def parse(self, response):<br>  &quot;&quot;&quot;<br>  Here goes that kind of magic!<br>  &quot;&quot;&quot;<br>  pass</pre><p>This is all for today. These tips might be quite simple but will enhance your web scraping skills a whole lot, at least they did for me 😆</p><p>Don’t forget to subscribe to my <a href="https://www.youtube.com/@NVA_code_fun_n_stuff">YouTube channel</a> if you want to dig deeper into web scraping and automation topics, <em>and hear my beautiful voice </em>🤭</p><p>Nehuen,</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8481b32b171" width="1" height="1" alt=""><hr><p><a href="https://medium.com/technology-hits/you-cant-carry-on-without-these-web-scraping-tips-3-scrapy-python-tips-to-enhance-your-web-e8481b32b171">🔥You Can’t Carry On Without These Web Scraping Tips🔥 | 3 Scrapy &amp; Python Tips To enhance your Web…</a> was originally published in <a href="https://medium.com/technology-hits">Technology Hits</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Planning Everything! | Embracing Spontaneity and What My Sudden Trip To San Rafael Taught Me]]></title>
            <link>https://medium.com/@nehuenv620/stop-planning-everything-embracing-spontaneity-and-what-my-sudden-trip-to-san-rafael-taught-me-02e8e20638e6?source=rss-9fce0dd24940------2</link>
            <guid isPermaLink="false">https://medium.com/p/02e8e20638e6</guid>
            <category><![CDATA[adventure-travel]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[spontaneity]]></category>
            <category><![CDATA[travel-writing]]></category>
            <category><![CDATA[traveling]]></category>
            <dc:creator><![CDATA[NVA]]></dc:creator>
            <pubDate>Tue, 23 Jul 2024 23:54:27 GMT</pubDate>
            <atom:updated>2024-07-23T23:54:27.288Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Los Reyunos — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*_0LozzSmE-N3Aq5BHDY_NQ.jpeg" /><figcaption>Los Reyunos - Taken by me</figcaption></figure><p>After much thinking, anxiety, and stress of not knowing what to do externally, but having an internal voice screaming what my heart desired…</p><p>I can say… I DID IT.</p><p>I traveled alone to the most beautiful place I know, <strong>San Rafael, Mendoza, Argentina,</strong> suddenly, 1000 km away from home, from one week to the next.</p><p>Now I want to share my trip story, the highs and lows, how it made me grow, and why I recommend you also dare to travel to the place you want to go!</p><figure><img alt="Stute of the Admiral José de San Martín — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*A4cyIujGAwYNQ-53CY4Mog.jpeg" /><figcaption>Stute of the Admiral José de San Martín — Taken by me</figcaption></figure><h3>The Decision and Inspiration (the spark)</h3><p><strong>First:</strong></p><p>I was scared, not gonna lie. I didn’t know if everything would work out or if I could find a hotel or apartment. But I had made the decision. Nobody could stop me!</p><p>I was inspired by YouTuber Alex Rogers and his video <a href="https://youtu.be/Tx95iN4ElpA?si=DfAckDxyMxpyFm7A">“Testament to Spontaneity.”</a></p><p>He suddenly went to Machu Pichu with friends. The video he made was glorious, well-structured, and filmed. But what touched me even more was his message about the importance of being spontaneous,</p><p>doing something without meticulously planning for weeks, and why it makes you feel <strong>alive.</strong></p><p>I know he might have a better economic position than me, coming from a first-world country…</p><p>But that’s no excuse, and it doesn’t mean I couldn’t travel where I wanted. In this case, the place was clear:</p><figure><img alt="My plane ticket — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*9LYjtH4q294sQmU3OZoVZQ.jpeg" /><figcaption>My plane ticket — Taken by me</figcaption></figure><h3>San Rafael, Mendoza, Argentina</h3><p>Last summer, my sister went there and showed me pictures of everything they did:</p><p>The breathtaking landscapes, the calming city, the little town, the food, kayaking, trekking, and more.</p><p>I loved everything my sister told me<strong> and fell in love with the place before going there!</strong></p><p>So I saved up some money!</p><p>I could’ve gone there months before. I almost did, but something always commanded me to stay here in Buenos Aires.</p><p>Either responsibility, like my Kung Fu school, my freelance work, or others…</p><p>But I bet that if I was more focused on going, I could’ve gone there anyway. I could’ve found a way for sure.</p><p>After all, it doesn’t matter. Regretting <em>the past is futile because you cannot change anything.</em></p><h3>The minimum planning</h3><p>On the 20th of July, after months of uncertainty, I received a promotion from a travel agency that offered me a 20% discount on all trips on long-distance buses, and that was my signal!</p><p>Then the rush started. I told my family and they went crazy:</p><blockquote><em>“What are you gonna do there now? There are barely 5 people.”</em></blockquote><blockquote><em>“You won’t be able to do the activities you could do in the high season.”</em></blockquote><blockquote><em>“It’s cold as f*ck” (and it was, but who cares?)</em></blockquote><p>At other points in my life, this would’ve stopped me from doing what I wanted to do, but I was so decided I just couldn’t process those sentences as a hindrance.</p><p>And something pretty interesting happened. My family saw how determined I was, and they started changing their minds. So much so that they started to help me with my travel!</p><p>In fact, after some days my mother somehow found me a better transport option than the 13-hour long bus… a 1.5-hour plane 😆</p><p>To be honest, I didn’t even bother to search for flights because I was sure they’d be a lot more expensive. And SPOILER: they were a lot cheaper than the bus 😅</p><p>And all because my mother wanted to help, I paid 40,000 pesos (30 dollars at that time) less and traveled much more comfortably and a lot faster!</p><p>As you can see, the initial catalyst, the discount on buses, didn’t even matter after all. Since I could take advantage of my flexible schedule and fly when people don’t usually do, I could enjoy the low prices!</p><figure><img alt="Plane to San Rafael — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*zbqRxa0r73M1eCWWrkoGcQ.jpeg" /><figcaption>Plane to San Rafael — Taken by me</figcaption></figure><h3>Let’s not forget about the place I stayed at!</h3><p>I sent thousands of messages to people on Facebook Marketplace and found several options,</p><p>but only 3 were acceptable for my traveling budget (to be honest, it was too low 😅),</p><p>and even though they were great options, I decided to find a cheaper one, although it seemed like an impossible task.</p><p>After almost surrendering, I saw the light at the end of the tunnel…</p><p>I found a really friendly lady who offered the exact place I was looking for, for less than 30% as much as other people were asking for!!</p><p>The apartment had all I needed: a bed, a bathroom, and a kitchen with utensils to make myself some food (eating out every day wasn’t an option 🤣).</p><p>Now everything was decided, the search had been tough, but I had everything I needed, so I packed a small backpack with the minimum stuff I needed. Then I did it… I travelled to <strong>San Rafael, Mendoza.</strong></p><h3>My stay</h3><p><strong>I did everything I wanted to do!</strong></p><p>On the first day, I was tired as hell because I had to walk 8km to the apartment (the taxi wasn’t an option!)</p><p>What a way to start 🤣</p><p>From the next day on, my real adventure began. To summarize:</p><ul><li>I went to the <strong>Borges Labyrinth</strong>, made in honor of the well-known Argentine writer Jorge Luis Borges.</li></ul><figure><img alt="Borges Labyrinth — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*k0GSsFlTLSGeAWBPMsRk3g.jpeg" /><figcaption><strong>Borges Labyrinth — Taken by me</strong></figcaption></figure><ul><li>I visited <strong>Los Reyunos</strong>, and thanks to the low season, I could enjoy the view with literally no people around me for kilometers, NO ONE! It was the best experience of my travel.</li></ul><figure><img alt="Los Reyunos’ Reservoir — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*xEAfwxEO0fAUVnfVHmvrQQ.jpeg" /><figcaption>Los Reyunos’ Reservoir — Taken by me</figcaption></figure><ul><li>Did bungee jumping for the first time.</li></ul><p><em>(I don’t have a picture for that 😆)</em></p><ul><li>Went to a lot of museums and learnt about the history of <strong>San Rafael</strong>.</li></ul><figure><img alt="Natural History Museum — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*DPs0RcIeK0aUmNjsCCoFPA.jpeg" /><figcaption>Natural History Museum — Taken by me</figcaption></figure><ul><li>I went to <strong>Valle Grande</strong>, and Oh man, the mountains and the views were amazing. I traveled through the water reservoir in a small boat, with only a few people besides me, and it was awesome. I could enjoy every moment, with barely any others doing stuff around me.</li></ul><figure><img alt="Valle Grande — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*VFZ63PQjb-MlVtVFTuvkQQ.jpeg" /><figcaption>Valle Grande — Taken by me</figcaption></figure><ul><li>Visited <strong>El Nihuil</strong> and its reservoir, experienced the real cold for the first time in my life, and got chased by a pack of dogs because there were no more awake people besides me (I went there at almost 7:30 am with -7 degrees Celsius 😅)</li></ul><figure><img alt="El Nihuil — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*CgH5TmovSCm23DXv5z68HA.jpeg" /><figcaption>El Nihuil — Taken by me</figcaption></figure><h3>Meaningful Encounters and what’s really worth it</h3><p>And the one thing I want to highlight outside of all the beautiful activities I did there, is the awesome people I met, and how that broadened my horizons. I’m not the same person I was before the trip.</p><p>I met a lot of people there, none of them were cold or dry. Indeed, all of them were incredibly warm and willing to help me with whatever I needed to do,</p><p>and that was simply amazing!</p><p>One day, I came across a lady at a chocolate store. I bumped into her and started talking and laughing about wanting to eat everything at the store 😄</p><p>I met amazing people for more than just a chat. The lady that I rented her apartment to was incredibly sweet and caring, and the old man who was taking his dog for a walk almost ended up telling me his whole life story in a matter of 10 blocks.</p><p>The man took me to Los Reyunos in his car and made me know another reservoir I didn’t know before, without asking me for anything in return.</p><p>And so, these people made me more open to meeting strangers, they broadened my perspectives, and made me feel like another local of San Rafael.</p><p>Imagine if I hadn’t gone there, I would’ve lost the chance to know all those amazing people I met at that specific time. Who knows whether I could’ve met them if I had gone some months before.</p><figure><img alt="Me having mates beside the artificial lagoon — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*5q37JSFuejLsSIRpvTnMKA.jpeg" /><figcaption>Me having mates beside the artificial lagoon — Taken by me</figcaption></figure><p>Another thing I want to highlight is that even though many activities require a fee to do them,</p><p>The things I enjoyed the most were the ones that required no money, just to be present.</p><p>Alone and breathing the best air I ever inhaled, I sat on a rock at the bottom of the mountain, looking at the reservoir in the distance.</p><p>Having some mates in the park, Plaza Francia, which had a special charm unique to it.</p><p>Just walking through the center, greeting people, and getting greeted back… It was awesome and it didn’t cost any money!</p><figure><img alt="Me, thinking I was prepared for El Nihuil — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*Xdz9PtyZfBu7jd57UVkOVg.jpeg" /><figcaption>Me, thinking I was prepared for El Nihuil — Taken by me</figcaption></figure><h3>Getting out of my comfort zone</h3><p><strong>And growing as a person!</strong></p><p>This adventure made me grow as a person since I had to go far beyond the boundaries of my comfort zone:</p><ul><li>I had to cook with as few things as I had in the fridge.</li><li>Had to ask a lot of people to know how the buses worked in the city (barely any information on Google).</li><li>I had to walk at 5 am in the darkest hours to take a bus to El Nihuil, with the cold eating me alive.</li></ul><figure><img alt="Plane back home — Taken by me" src="https://cdn-images-1.medium.com/max/1024/1*yzBPtOYs4badiHHeYArebA.jpeg" /><figcaption>Plane back home — Taken by me</figcaption></figure><h3>All good things end (for good!)</h3><p>Everything finished, and I greeted the city on Sunday. I was sitting on a bench at the park, having some mates,</p><p>and just feeling fulfilled for everything I’d done. I felt proud of myself for doing what I wanted to do and overall <strong>FREE.</strong></p><p>On Monday, I took the plane back home.</p><p>I was happy to tell my family everything that happened during the trip. I shared all the stories and experiences that will remain with me till my last breath.</p><p>Things that nobody nor any condition will ever take away from me!</p><p>All things end, though I wanted to stay a bit longer. I knew this was for a greater purpose because I knew that when this travel ended,</p><p>It automatically gave me the possibility to start a new one… <strong><em>A new adventure</em></strong>.</p><p>Cheers,</p><p>Nehuen</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02e8e20638e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Music lets you enjoy life better, don’t let anyone tell you otherwise ♫♪| Why music helps you be…]]></title>
            <link>https://medium.com/@nehuenv620/music-lets-you-enjoy-life-better-dont-let-anyone-tell-you-otherwise-why-music-helps-you-be-d4723184d81e?source=rss-9fce0dd24940------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4723184d81e</guid>
            <category><![CDATA[mindfulness]]></category>
            <category><![CDATA[storyofmylife]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[philosophy]]></category>
            <dc:creator><![CDATA[NVA]]></dc:creator>
            <pubDate>Fri, 28 Jun 2024 00:29:07 GMT</pubDate>
            <atom:updated>2024-06-28T00:29:07.994Z</atom:updated>
            <content:encoded><![CDATA[<h3>Music lets you enjoy life better, don’t let anyone tell you otherwise ♫♪| Why music helps you be present, here and now</h3><figure><img alt="Jazzy Street Musician" src="https://cdn-images-1.medium.com/max/1024/1*GjQB38H-uNC4mLmMMhuQfQ.jpeg" /><figcaption>Jazzy Street Musician — Nashville, TN by Mark Pecar on Unsplash</figcaption></figure><p><strong>Ever felt like music was the only thing keeping you sane?</strong></p><p>Well, I did, and let me tell you a little story:</p><p>I was down for some things happening in my life then, so I laid down and listened to music.</p><p><strong>Colors</strong> — By Black Pumas.</p><p>Instantly, I was transported into the song’s world, enjoying the blue sky, trees, streets, and every color the protagonist saw.</p><p>It felt like a walk that renewed my spirit.</p><p>I felt in that place, just like him, enjoying the moment, not thinking about the past or the future.</p><p><strong>That sweet music took me out for a walk</strong> and renovated me, I still had all my problems, but I saw them from another perspective!</p><p><strong>Hasn’t it ever happened to you too?</strong></p><figure><img alt="The Horse Guards at the Battle of Waterloo" src="https://cdn-images-1.medium.com/max/1024/1*rZ34-SZByy7iwrmuwzvHTQ.jpeg" /><figcaption>The Horse Guards at the Battle of Waterloo Photo by <a href="https://unsplash.com/@britishlibrary?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">British Library</a> on <a href="https://unsplash.com/photos/military-painting-wallpaper-DvgcQNAh5NA?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><h3>what would we do without music in this world of conflict?</h3><p><em>(I know, I borrowed the quote from the glassworker 😅)</em></p><p>Since the dawn of humanity, music has been our loyal partner.</p><p>Our ancestors hummed while working, perhaps mimicking birds.</p><p>In ancient civilizations, in Greece and Egypt, instruments like lyres and flutes were created.</p><p>Fast forward to the classical era with Bach and Beethoven,</p><p>and then to the diverse genres from the 20th century to today.</p><p>The blues, rock, soul, Jazz, pop, and even electronic music and Hip-hop.</p><p>During all this time we’ve been using music just like any other art form, <strong>to transmit.</strong></p><p>It has always been a way to tell a story.</p><p>A way to express your feelings both good and bad.</p><p>Or maybe just to move the hips.</p><p>I once read an amazing comment on a song called <strong>“Why I Sing the Blues”</strong> by B.B. King, that even though it talks about the blues, it can be said for any type of music (with a few changes, of course 😄):</p><blockquote><em>“The blues beautifully unites us in the struggles of life, hardships, and love in an unfair world”</em></blockquote><p>Also, I once heard a wonderful opinion on “<strong>Piano Man</strong>” by Billy Joel, that perfectly summarizes how much of a message or story a song can transmit to us:</p><blockquote><em>“My favorite thing about this song is how it’s called Piano man, but it’s not about the Piano man. It’s about the people around him. It almost makes the Piano man seem inhuman in a way because even thought he’s the title character, his purpose doesn’t seem to be the protagonist, but rather to help those around him living their own crazy stories. Like the Piano man is some middle ground in the dizzying world we all live in”</em></blockquote><p>All said, in essence, I’d describe music as one of the best methods to express ourselves.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xjsTR_7gJP1e1grGMmTncQ.jpeg" /><figcaption>Zen stones in Réunion Island Photo by <a href="https://unsplash.com/@cosmovisuals?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Laury Ricquebourg</a> on <a href="https://unsplash.com/photos/a-pile-of-rocks-stacked-on-top-of-each-other-h-GxWQvLjTM?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><h3>What music can do for us</h3><p>Well, but after all you may say:</p><ul><li>“Yeah, everything is too pretty and wholesome but Isn’t music just a rhythm, a progression of chords, and a melody? why is it so important?”</li></ul><p>If you said that, you’d be quite right, you’d not have a soul, you’d be quite right 😅</p><p>Remember that we are also complex beings, that can relate those chords and rhythms to emotions, to previous moments we lived.</p><p>It can make us happy, or sad, ponder life, it can improve our day, or help us get through those complicated days we all have.</p><p>What music can do for us is the reason why I’m making this whole article!</p><p>It’s one of our greatest sources of inspiration, and tranquility we can have.</p><p>If you don’t believe me, go ahead and listen to one of those songs of your youth, something you used to hear in those happy moments when you didn’t have any big deal going on.</p><p>That band your father showed you.</p><p>That song you used to hear while you were with your family at the beach.</p><p>The song that sounded at your 10th birthday.</p><p>Your face will instantly change, and your facial muscles will tense and make you smile because music will take you to those happy moments of the past.</p><p>Music will make you be there again, at least for some minutes, and then you will be able to enjoy your day a bit more than before, or rather see your problems with <strong>new eyes</strong>.</p><figure><img alt="Robot playing the keyboard" src="https://cdn-images-1.medium.com/max/1024/1*CLvam5rrB3U9McaBMY6Qrw.jpeg" /><figcaption>Robot playing the keyboard Photo by <a href="https://unsplash.com/@possessedphotography?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Possessed Photography</a> on <a href="https://unsplash.com/photos/robot-playing-piano-U3sOwViXhkY?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><h3>Now scientifically</h3><p>I know I say too many good things about music and let myself fly around with words, but hey, there’s scientific evidence too. (So you don’t think your guy’s only talking with his incredibly huge bias towards music 😅)</p><p><strong>Here are the studies I’ve found:</strong></p><ul><li><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2759002/"><strong>The Rewarding Aspects of Music Listening Are Related to Degree of Emotional Arousal</strong></a></li></ul><p>This study found out that listening to the music one likes evokes strong emotions that are rewarding by themselves, in the absence of a physical reward or a goal (in conclusion listening to good music was the reward for the brain).</p><ul><li><a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3734071/"><strong>The Effect of Music on the Human Stress Response</strong></a></li></ul><p>Which discovered that listening to music (relaxing music in this case) before a stressful situation can end up reducing the body’s cortisol response and in a faster recovery from that stress (yeah, in fewer words music reduces stress 🌈).</p><ul><li><a href="https://pubmed.ncbi.nlm.nih.gov/18287122/"><strong>Music Listening Enhances Cognitive Recovery and Mood after Middle Cerebral Artery Stroke</strong></a></li></ul><p>This shows us that music listening in cerebral stroke-affected people can enhance cognitive recovery and mood (music also helps heal💖).</p><figure><img alt="Person playing guitar (possibly blues)" src="https://cdn-images-1.medium.com/max/1024/1*77EkbS6hLDRv3ES-VyuaIw.jpeg" /><figcaption>Person playing guitar (possibly blues) Photo by <a href="https://unsplash.com/@possessedphotography?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Possessed Photography</a> on <a href="https://unsplash.com/photos/robot-playing-piano-U3sOwViXhkY?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><h3>Conclusion</h3><blockquote><em>“Food feeds our body, information feeds our brain, love feeds our heart and I dare say music feeds our souls”</em></blockquote><blockquote>- Me</blockquote><p>That is my conclusion for this article.</p><p>I know I might give music an incredibly special place in the list of things that increase our overall happiness because of how I was brought up and my personal experience,</p><p>But I once read some medium article saying that “You shouldn’t listen to music”.</p><p>And even though there’s beauty in our differences as humans and that allows us to share different ideas, I couldn’t help but make an article that told the exact opposite 😂</p><p>So go ahead, listen, and enjoy some good music!!</p><p>See you guys next time,</p><p><strong>Nehuen</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4723184d81e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This tip will enable you to scrape any website | scraping a hard website with Scrapy on Python]]></title>
            <link>https://medium.com/@nehuenv620/this-tip-will-enable-you-to-scrape-any-website-scraping-a-hard-website-with-scrapy-on-python-a00a6c00aa66?source=rss-9fce0dd24940------2</link>
            <guid isPermaLink="false">https://medium.com/p/a00a6c00aa66</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-extraction]]></category>
            <category><![CDATA[scrapy]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[NVA]]></dc:creator>
            <pubDate>Wed, 05 Jun 2024 16:10:48 GMT</pubDate>
            <atom:updated>2024-06-05T16:10:48.471Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Anime style, desk with a lot of monitors in a room full of windows in a big and lively city" src="https://cdn-images-1.medium.com/max/1024/1*xz3e7G-6J1V4EdD5jIATKA.png" /></figure><p>Ever tried scraping a website only to find out that the elements you’re trying to retrieve are not on the HTML, and nowhere to be seen?</p><p>Now imagine yourself trying to extract valuable data from a quite complex Chinese science journal. In this article, I will guide you step by step.</p><p>we’ll conquer these challenges using Python’s Scrapy framework, transforming what seems like an impossible task into a seamless data-gathering process. “<strong>Turning chaos into clarity, that’s the question”</strong></p><h3>Introduction</h3><p>Recently I have been working with a client that has some business with China, at least with some journals about science and technology (I don’t wanna ask too many questions, you know 😅).</p><p>The website we’re gonna be scraping is the <a href="http://journal26.magtechjournal.com/kjkxjs/CN/1000-758X/home.shtml"><strong>Chinese Journal of Space Science and Technology</strong></a></p><p>It seems simple at first, but we’re gonna come across many interesting problems and their respective solution, the most important being:</p><ul><li>What to do when an element is not generated in the HTML of the website and it seems un-scrapable at first sight unless you use selenium or a similar library.</li></ul><p>As you may know, if you read the title, I’ll be using Python and the Scrapy framework, which is amazingly fast for getting big amounts of data.</p><h3>Website structure and expected scraped output</h3><h4>First page</h4><p>This website is quite simple, first we have to go through the main page, where we’re going to have a table with several tabs:</p><figure><img alt="Landing page of the website I’ll explain how to scrape in this article" src="https://cdn-images-1.medium.com/max/1024/1*NT0I0ykbd3Gqxxkq-E4FAQ.png" /></figure><p>If we click on the third tab starting from the active one to the right (I don’t know what that means), we are gonna see the <strong>historical volumes</strong> of the journal:</p><figure><img alt="Landing page, table with all the links to the different volumes of the journal website" src="https://cdn-images-1.medium.com/max/1024/1*HJ-tOx0mEXEwg5gwHhiQwA.png" /></figure><p>This table contains all the issues on the website.</p><h4>Second page</h4><p>This “second page” would be a general name, since I’m referring to all the <strong>issue pages</strong> which are identical to each other. We access these pages by clicking on the table links:</p><figure><img alt="Second page containing all the articles in a list" src="https://cdn-images-1.medium.com/max/1024/1*IXR53N0who4WRnfwp0gSVQ.png" /></figure><p>To access each link we must click on the article’s title:</p><figure><img alt="Second page, highlighting the title of the first page" src="https://cdn-images-1.medium.com/max/1024/1*WMLzkJ6MkdWM-OriS9lMLA.png" /></figure><h4>Third page (article)</h4><p>And we’re finally taken to the article page which looks like this and has all the information we must scrape:</p><figure><img alt="Top of the third page, the article itself." src="https://cdn-images-1.medium.com/max/1024/1*MXx61LQFVjCDpWtmnTF2ug.png" /></figure><figure><img alt="Bottom of the third page, the article itself" src="https://cdn-images-1.medium.com/max/1024/1*aHnd7M3qItBC6bkufxBfJw.png" /></figure><p>Here’s where the juice is, and we must scrape the following fields:</p><ul><li>Site HTML.</li><li>Link to the PDF.</li><li>Issue number.</li><li>Year number.</li><li>Publish date.</li><li>Title.</li><li>Article number.</li><li>Authors.</li><li>Abstract (description).</li></ul><p>Seems simple, right??… Well no. <strong>Not simple at all</strong></p><h3>Website analysis, tests, and the first problem</h3><p>Let’s head back to the first page.</p><p>If we go down to the historical issues table and search it on the dev tools we are gonna see the following structure:</p><figure><img alt="First website devtools" src="https://cdn-images-1.medium.com/max/1024/1*3Iy1dowZRQAdnVrvVohh4Q.png" /></figure><p>Everything seems to be okay so we should test it in the Scrapy shell of our project:</p><figure><img alt="Testing the elements on the scrapy shell" src="https://cdn-images-1.medium.com/max/1014/1*YpSo8DSPYRjdD0_GhImOwg.png" /></figure><p>Hey, there were a lot of volumes on the website, why is it retrieving only one?</p><p><strong>First of all:</strong></p><p><em>Don’t you dare walk out when you see something like this. Let me show you the solution, it might not work all the time, but believe me, it works.</em></p><p>If we go to the source of this website using DevTools, we’re going to see this:</p><figure><img alt="HTML of the first website (landing page) shown on the devtools" src="https://cdn-images-1.medium.com/max/1024/1*GhptaxmIC2MTENyfpabVVA.png" /></figure><p>If we take a deep look at the document, we’ll see that there is no table with all the links to the volumes inside (recommend you take a look).</p><h3>What do we do in these cases?</h3><p>Well, this is not a simple answer, but the solution is just like any other solution in software development: <strong>Take a moment to explore the situation and seek alternatives.</strong></p><p>And after doing so for a while, I discovered this request on the network tab:</p><figure><img alt="showOldVolumnSimple.do request response on the DevTools, showing the table with all the links to the volumes that wasn’t appearing on the landing’s page HTML" src="https://cdn-images-1.medium.com/max/1024/1*pjx21nNLV1dH6uzHjyj__Q.png" /></figure><p><a href="http://journal26.magtechjournal.com/kjkxjs/CN/article/showOldVolumnSimple.do"><strong>showOldVolumnSimple.do</strong></a></p><p>Which fortunately for us, has all the information we need for this scraper: The table with all the links to the volumes!</p><p>With just a little research, we found the solution served to us on a silver plate.</p><p>And this is all we need to start building the spider.</p><h3>Building the spider</h3><h4>Start Scrapy project</h4><p>Execute on the command line:</p><pre>scrapy startproject csst_scraper</pre><h4>Import important libraries and create the spider’s class</h4><pre>import scrapy<br>from datetime import datetime<br>from csst.items import article_item</pre><pre>class CsstSpider(scrapy.Spider):<br>    name = &#39;csst_spider&#39;<br>    start_urls = [&#39;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/article/showOldVolumnSimple.do&gt;&#39;]</pre><h3>Build the parse() function</h3><p>which gets all the volumes’ URLs and the issue number from each one of them, and then passes them to the next function:</p><pre>def parse(self, response):<br>	for a in response.css(&#39;a&#39;):<br>	  next_url = f&#39;&lt;http://journal26.magtechjournal.com/kjkxjs/CN&gt;{a.attrib[&quot;href&quot;].replace(&quot;..&quot;, &quot;&quot;)}&#39;<br>	  i_n = a.css(&quot;::text&quot;).get().split(&quot;.&quot;)[1].replace(&quot;0&quot;, &quot;&quot;)<br>	  issue_number = i_n<br>	  yield scrapy.Request(next_url, callback=self.parse_issue_page, meta={&quot;issue_number&quot;: issue_number})</pre><h3>Build the parse_issue_page() function</h3><p>Which gets all the articles&#39; URLs from the volumes, by looking at each article’s title URL:</p><pre>def parse_issue_page(self, response):<br>	for i,article_url in enumerate(response.css(&#39;a.txt_biaoti::attr(href)&#39;).extract()[1:2]):<br>	  yield scrapy.Request(article_url, callback=self.get_article_details, meta={&quot;issue_number&quot;: response.meta[&quot;issue_number&quot;], &quot;article_number&quot;:i+1})</pre><h3>Build the parse_article() function.</h3><p>Which gets all the information we need (specified at the beginning of the article) from each article.</p><p>The process of finding each selector is quite long and boring, so I will only show the final results (Promise to upload a YouTube video explaining it someday!)</p><pre>def get_article_details(self, response):<br> <br> def parse_date(spans) -&gt; str:<br>    published_date = None<br>    for span in spans:<br>      if &quot;出版日期:&quot; in span:<br>        published_date = span.split(&quot;:&lt;/code&gt;&quot;)[1].split(&quot;&lt;&quot;)[0].strip()<br>        return published_date<br>    for span in spans:<br>      if &quot;发布日期:&quot; in span:<br>        published_date = span.split(&quot;:&lt;/code&gt;&quot;)[1].split(&quot;&lt;&quot;)[0].strip()<br>        return published_date<br> <br> def parse_authors(title_tag, abs_tag) -&gt; str:<br>  authors_list = []<br>  for author in title_tag:<br>     auth = author.replace(&quot;\r\n&quot;, &quot;&quot;).replace(&quot;\t&quot;, &quot;&quot;).replace(&quot;，&quot;, &quot;&quot;).replace(&quot;, &quot;, &quot;&quot;).strip()<br>     if len(auth)&gt;0:                                <br>         authors_list.append(auth)<br>  if len(authors_list) &gt; 0:<br>     return &quot;, &quot;.join(authors_list)<br>  else:<br>     try:<br>        auth_ch, auth_en = abs_tag.css(&quot;p::text&quot;).getall()[0], abs_tag.css(&quot;p::text&quot;).getall()[2]<br>        return &quot; - &quot;.join((auth_ch, auth_en))<br>      except IndexError:<br>        auths = []<br>        for element in abs_tag.css(&quot;p::text&quot;).getall():<br>          if &quot;,&quot; in element and &quot;.&quot; in element:<br>            auth = element.split(&quot;.&quot;)[0]<br>            auths.append(auth)<br>        return &quot; - &quot;.join(auths)<br><br> def parse_abstract(tag) -&gt; str:<br>    abstracts = []<br>    for abs in tag: <br>      if  &quot;\r&quot; not in abs and &quot;\n&quot; not in abs and &quot;\t&quot; not in abs:<br>        abstracts.append(abs)<br>    return abstracts[0] + &quot;\n\n&quot; + abstracts[1]<br><br> item = article_item()<br> item[&#39;journal_name&#39;] = &quot;Chinese_Space_Science_and_Technology&quot;<br> item[&#39;html_to_ingest&#39;] = response.body.decode(&#39;utf-8&#39;)<br> item[&#39;pdf_to_download&#39;] = response.css(&quot;meta[name=&#39;citation_pdf_url&#39;]::attr(&#39;content&#39;)&quot;).get()<br> item[&#39;original_link&#39;] = response.url<br> item[&#39;issue_number&#39;] = response.meta[&quot;issue_number&quot;]<br> dates = response.css(&#39;ul.list-unstyled.code-style li span&#39;).getall()<br> item[&#39;year_number&#39;] = parse_date(dates).split(&quot;-&quot;)[0]<br> item[&#39;publish_date&#39;] = datetime.strptime(parse_date(dates), &#39;%Y-%m-%d&#39;).date()<br> item[&#39;title&#39;] = response.css(&#39;h3.abs-tit::text&#39;).extract_first()<br> item[&#39;article_number&#39;] = response.meta[&quot;article_number&quot;]<br> item[&#39;authors&#39;] = response.css(&quot;meta[name=&#39;citation_authors&#39;]::attr(&#39;content&#39;)&quot;).get().split(&quot;,&quot;)<br> abstract_tag = response.css(&#39;div.panel-body.line-height.text-justify p::text&#39;).getall()<br> item[&#39;abstract&#39;] = parse_abstract(abstract_tag)<br> yield item</pre><p><strong>The final result:</strong></p><pre>import scrapy<br>from datetime import datetime<br>from csst.items import article_item <br><br>class CsstSpider(scrapy.Spider):<br>  name = &#39;csst_spider&#39;<br>  start_urls = [&#39;http://journal26.magtechjournal.com/kjkxjs/CN/article/showOldVolumnSimple.do&#39;]<br><br>  def parse(self, response):<br>    for a in response.css(&#39;a&#39;):<br>      next_url = f&#39;http://journal26.magtechjournal.com/kjkxjs/CN{a.attrib[&quot;href&quot;].replace(&quot;..&quot;, &quot;&quot;)}&#39;<br>      i_n = a.css(&quot;::text&quot;).get().split(&quot;.&quot;)[1].replace(&quot;0&quot;, &quot;&quot;)<br>      issue_number = i_n<br>      yield scrapy.Request(next_url, callback=self.parse_issue_page, meta={&quot;issue_number&quot;: issue_number})<br>  <br>  def parse_issue_page(self, response):<br>    for i,article_url in enumerate(response.css(&#39;a.txt_biaoti::attr(href)&#39;).extract()[1:2]):<br>      yield scrapy.Request(article_url, callback=self.get_article_details, meta={&quot;issue_number&quot;: response.meta[&quot;issue_number&quot;], &quot;article_number&quot;:i+1})<br>  <br>  def get_article_details(self, response):<br>  <br>    def parse_date(spans) -&gt; str:<br>       published_date = None<br>       for span in spans:<br>         if &quot;出版日期:&quot; in span:<br>           published_date = span.split(&quot;:&lt;/code&gt;&quot;)[1].split(&quot;&lt;&quot;)[0].strip()<br>           return published_date<br>       for span in spans:<br>         if &quot;发布日期:&quot; in span:<br>           published_date = span.split(&quot;:&lt;/code&gt;&quot;)[1].split(&quot;&lt;&quot;)[0].strip()<br>           return published_date<br>    <br>    def parse_authors(title_tag, abs_tag) -&gt; str:<br>      authors_list = []<br>      for author in title_tag:<br>        auth = author.replace(&quot;\r\n&quot;, &quot;&quot;).replace(&quot;\t&quot;, &quot;&quot;).replace(&quot;，&quot;, &quot;&quot;).replace(&quot;, &quot;, &quot;&quot;).strip()<br>        if len(auth)&gt;0:                                <br>            authors_list.append(auth)<br>      if len(authors_list) &gt; 0:<br>        return &quot;, &quot;.join(authors_list)<br>      else:<br>        try:<br>           auth_ch, auth_en = abs_tag.css(&quot;p::text&quot;).getall()[0], abs_tag.css(&quot;p::text&quot;).getall()[2]<br>           return &quot; - &quot;.join((auth_ch, auth_en))<br>        except IndexError:<br>          auths = []<br>          for element in abs_tag.css(&quot;p::text&quot;).getall():<br>            if &quot;,&quot; in element and &quot;.&quot; in element:<br>              auth = element.split(&quot;.&quot;)[0]<br>              auths.append(auth)<br>          return &quot; - &quot;.join(auths)<br>   <br>    def parse_abstract(tag) -&gt; str:<br>       abstracts = []<br>       for abs in tag: <br>         if  &quot;\r&quot; not in abs and &quot;\n&quot; not in abs and &quot;\t&quot; not in abs:<br>           abstracts.append(abs)<br>       return abstracts[0] + &quot;\n\n&quot; + abstracts[1]<br>   <br>    item = article_item()<br>    item[&#39;journal_name&#39;] = &quot;Chinese_Space_Science_and_Technology&quot;<br>    item[&#39;html_to_ingest&#39;] = response.body.decode(&#39;utf-8&#39;)<br>    item[&#39;pdf_to_download&#39;] = response.css(&quot;meta[name=&#39;citation_pdf_url&#39;]::attr(&#39;content&#39;)&quot;).get()<br>    item[&#39;original_link&#39;] = response.url<br>    item[&#39;issue_number&#39;] = response.meta[&quot;issue_number&quot;]<br>    dates = response.css(&#39;ul.list-unstyled.code-style li span&#39;).getall()<br>    item[&#39;year_number&#39;] = parse_date(dates).split(&quot;-&quot;)[0]<br>    item[&#39;publish_date&#39;] = datetime.strptime(parse_date(dates), &#39;%Y-%m-%d&#39;).date()<br>    item[&#39;title&#39;] = response.css(&#39;h3.abs-tit::text&#39;).extract_first()<br>    item[&#39;article_number&#39;] = response.meta[&quot;article_number&quot;]<br>    item[&#39;authors&#39;] = response.css(&quot;meta[name=&#39;citation_authors&#39;]::attr(&#39;content&#39;)&quot;).get().split(&quot;,&quot;)<br>    abstract_tag = response.css(&#39;div.panel-body.line-height.text-justify p::text&#39;).getall()<br>    item[&#39;abstract&#39;] = parse_abstract(abstract_tag)<br>    yield item</pre><h3>Running the spider</h3><p>We go to the terminal and execute:</p><pre>scrapy crawl csst_spider -o sample.json</pre><p>This line will write the output to the JSON file called “sample”.</p><p>The sample.json file will look like this:</p><pre>[<br>{&quot;journal_name&quot;: &quot;Chinese_Space_Science_and_Technology&quot;, &quot;pdf_to_download&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/article/downloadArticleFile.do?attachType=PDF&amp;id=11256&gt;&quot;, &quot;original_link&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/10.16708/j.cnki.1000-758X.2021.0017&gt;&quot;, &quot;issue_number&quot;: &quot;2&quot;, &quot;year_number&quot;: &quot;2021&quot;, &quot;publish_date&quot;: &quot;2021-04-25&quot;, &quot;title&quot;: &quot;溅射靶对离子推力器的热辐射影响研究&quot;, &quot;article_number&quot;: 1, &quot;authors&quot;: [&quot;耿海&quot;, &quot; 孙明明&quot;, &quot; 罗俊华&quot;, &quot; 刘家涛&quot;], &quot;abstract&quot;: &quot;为了研究真空环境设备内溅射靶温度升高后对30cm离子推力器的热辐射影响，采用有限元分析的方法，首先对真空舱内的离子推力器羽流分布进行了模拟，在获得羽流对溅射靶造成的温度变化后，进一步分析了溅射靶温度升高对离子推力器温度以及栅极热形变位移所造成的影响。仿真结果显示，推力器羽流可采用定向分子流模型进行描述，羽流在真空舱内的扩散过程中几乎没有能量损失；30cm离子推力器工作时真空舱内大部分区域的气体压强在2×10\\n\\n~6×10&quot;, &quot;journal&quot;: &quot;csst_spider&quot;, &quot;uid&quot;: &quot;csst_spider-2021-2-1-溅射靶对离子推力器的热辐射影响研究&quot;},<br>{&quot;journal_name&quot;: &quot;Chinese_Space_Science_and_Technology&quot;, &quot;pdf_to_download&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/article/downloadArticleFile.do?attachType=PDF&amp;id=11395&gt;&quot;, &quot;original_link&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/10.16708/j.cnki.1000-758X.2022.0063&gt;&quot;, &quot;issue_number&quot;: &quot;5&quot;, &quot;year_number&quot;: &quot;2022&quot;, &quot;publish_date&quot;: &quot;2022-09-09&quot;, &quot;title&quot;: &quot;航天器寿命末期离轨技术研究综述&quot;, &quot;article_number&quot;: 1, &quot;authors&quot;: [&quot;康会峰&quot;, &quot; 梅天宇&quot;, &quot; 夏广庆&quot;, &quot; 王晓阳&quot;, &quot; 范益朋&quot;, &quot; 鹿畅&quot;], &quot;abstract&quot;: &quot;为净化空间环境，针对航天器寿命末期离轨问题，对现有航天器离轨技术进行了分析。介绍了航天器寿命末期离轨技术的国内外研究发展现状，总结了不同类型离轨方式的特点及适用对象，分析了各种离轨方式发展趋势及关键技术，提出了航天器寿命末期离轨技术各离轨方式的发展建议。通过调研发现：现有航天器寿命末期离轨技术可使航天器在25年内离轨，但在离轨装置可靠性、离轨过程稳定性、航天器离轨时间及离轨后处理等方面有较大提升空间。\\n\\nTo purify the space environment，the existing spacecraft de-orbit technologies were analyzed for the spacecraft de-orbit problem at the lifetime end.The research status of spacecraft end-of-life de-orbit technologies was introduced.The characteristics and applicability of various de-orbit methods were summarized.Then the development trends and key technologies of various de-orbit methods were analyzed，and the development suggestions for the de-orbit technologies at the lifetime end of the spacecraft were put forward.The results show that the spacecraft end-of-life de-orbit technologies can de-orbit spacecraft within 25 years，but the reliability of de-orbit device，the stability of deorbit，the deorbit time of spacecraft and the aftertreatment can still be greatly improved.&quot;, &quot;journal&quot;: &quot;csst_spider&quot;, &quot;uid&quot;: &quot;csst_spider-2022-5-1-航天器寿命末期离轨技术研究综述&quot;},<br>{&quot;journal_name&quot;: &quot;Chinese_Space_Science_and_Technology&quot;, &quot;pdf_to_download&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/article/downloadArticleFile.do?attachType=PDF&amp;id=11377&gt;&quot;, &quot;original_link&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/10.16708/j.cnki.1000-758X.2022.0047&gt;&quot;, &quot;issue_number&quot;: &quot;4&quot;, &quot;year_number&quot;: &quot;2022&quot;, &quot;publish_date&quot;: &quot;2022-08-25&quot;, &quot;title&quot;: &quot;FY__D_中分辨率成像仪图像地理定位误差来源分析&quot;, &quot;article_number&quot;: 1, &quot;authors&quot;: [&quot;黄旭星&quot;, &quot; 杨勇&quot;, &quot; 佘宇琛&quot;, &quot; 景振华&quot;, &quot; 胡秀清&quot;, &quot; 高旭东&quot;, &quot; 李爽&quot;], &quot;abstract&quot;: &quot;以风云三号D星（FY-3D）中分辨率成像仪（MERSI）的图像地理定位为背景，针对现阶段FY-3D图像与海岸线匹配时误差表现为周期性振荡的现象，从卫星轨道和姿态控制的角度出发，分析了当前卫星运行策略对图像地理定位精度的影响。首先，建立了当前FY-3D卫星动力学模型和成像模型；然后，以FY-3D/MERSI真实遥感图像为基础，分析姿轨控分系统对遥感图像周期性定位造成的误差；最后，通过对比数值仿真结果与真实图像数据，对来自姿轨控分系统的图像定位误差来源进行了验证。研究表明，姿轨控分系统的轨道、姿态预报误差以及载荷安装误差都会导致成像基准产生偏差，进而使图像的地理定位误差呈现周期性振荡现象。\\n\\nAccurate geolocation of Fengyun 3D（FY-3D）medium resolution spectral imager（MERSI）images improves the remote sensing performance.Given that the coastline of the images after geolocating generates a periodically oscillating error in this stage，the geolocation error was systemically analyzed based on the attitude and orbit control of satellites.Firstly，the FY-3D satellite′s dynamic model and the imaging model were established.Then，based on real images from the FY-3D/MERSI，the geolocation errors resulting from the attitude and orbit control subsystem were analyzed.Finally，the source of geolocation error was validated in numerical simulations by comparing the results with real images.The study indicates that onboard attitude and orbit propagation errors and payload mounting error of the attitude and orbit control subsystem can cause the deviation of the imaging reference，thereby leading to the periodically oscillating error of the images after geolocating.&quot;, &quot;journal&quot;: &quot;csst_spider&quot;, &quot;uid&quot;: &quot;csst_spider-2022-4-1-FY__D_中分辨率成像仪图像地理定位误差来源分析&quot;},<br>{&quot;journal_name&quot;: &quot;Chinese_Space_Science_and_Technology&quot;, &quot;pdf_to_download&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/article/downloadArticleFile.do?attachType=PDF&amp;id=11411&gt;&quot;, &quot;original_link&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/10.16708/j.cnki.1000-758X.2022.0079&gt;&quot;, &quot;issue_number&quot;: &quot;6&quot;, &quot;year_number&quot;: &quot;2022&quot;, &quot;publish_date&quot;: &quot;2022-12-25&quot;, &quot;title&quot;: &quot;光学遥感卫星在轨星上绝对辐射定标的研究进展&quot;, &quot;article_number&quot;: 1, &quot;authors&quot;: [&quot;满益云&quot;, &quot; 陈世平&quot;], &quot;abstract&quot;: &quot;高精度绝对辐射定标是实现光学遥感定量化应用的重要前提。首先简要介绍了绝对辐射定标，接下来系统性地梳理国内外发展现状及发展趋势，重点分析了太阳反射谱段光学遥感卫星在轨星上绝对辐射定标的各种方法，包括遥感器上定标设备、恒星和月球定标、高精度参考交叉定标卫星和同步绝对辐射定标仪等，其中前两类已经在轨实现精度优于2%~5%，后两类计划当中精度优于1%。最后总结发展规律和发展启示，给出高精度光学遥感卫星在轨星上绝对辐射定标发展的几点讨论。\\n\\nIn order to realize the quantificational application for optical remote sensing satellites，the very important precondition is the absolute radiometric calibration and correction.The status and characteristics of some typical absolute radiometric calibration were introduced，and the methods of absolute radiometric calibration for typical solar reflective spectrum optical remote sensing satellites were analyzed，including onboard calibration device of the remote sensor，stellar and lunar calibration，high accuracy reference crosscalibration satellite and piggy-back calibrator.The first two methods were on orbit and the accuracy was better than 2%~5%，the last two methods are in development and the accuracy will be better than 1%.The development trend and revelation were summarized and some discussion were made in the end.&quot;, &quot;journal&quot;: &quot;csst_spider&quot;, &quot;uid&quot;: &quot;csst_spider-2022-6-1-光学遥感卫星在轨星上绝对辐射定标的研究进展&quot;},<br>{&quot;journal_name&quot;: &quot;Chinese_Space_Science_and_Technology&quot;, &quot;pdf_to_download&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/article/downloadArticleFile.do?attachType=PDF&amp;id=11272&gt;&quot;, &quot;original_link&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/10.16708/j.cnki.1000.758X.2021.0032&gt;&quot;, &quot;issue_number&quot;: &quot;3&quot;, &quot;year_number&quot;: &quot;2021&quot;, &quot;publish_date&quot;: &quot;2021-06-25&quot;, &quot;title&quot;: &quot;部署retro_GEO巡视器的月球借力飞行轨道分析&quot;, &quot;article_number&quot;: 1, &quot;authors&quot;: [&quot;贺波勇&quot;, &quot; 马鹏斌&quot;, &quot; 杜卫兵&quot;, &quot; 李恒年&quot;], &quot;abstract&quot;: &quot;retro-GEO是指逆行（retrograde）地球静止轨道（geostationary Earth orbit, GEO），该轨道与GEO轨道高度相同或相近，但倾角为180°，安装在retro-GEO卫星上的巡视器可每12h对GEO带空间资产附近碎片环境安全预警。直接西向发射retro-GEO卫星存在地面测控和发射能耗较大的困难。基于平面四体模型，为降低设计变量敏感性，以近月点参数为设计变量，建立了部署retro-GEO巡视器的月球借力飞行轨道设计模型，利用轨道动力学模型延拓策略，得到该类轨道绕月后返回地球飞行时长只能约为114.79h，该结论可用于求解该类轨道高精度轨道动力学模型解。\\n\\nRetro-GEO refers to the retrograde geostationary Earth orbit (GEO), which has the same or similar height as that of the GEO, but with an inclination of 180 °. A monitorsatellite on retroGEO can give early debris warning for the GEO assets every 12 hours. RetroGEO launched directly in the westward has great difficulties in ground tracking and control, as well as launch energy cost. Based on a four body model, and in order to reduce the sensitivity of design variables, a transfer to retro-GEO design model by the Moon swing by was proposed applying the trans-lunar orbital elements at the moment of perilune. The result obtanined by using orbital dynamics model continuation shows a natural property of such orbits, that is the return duration from perilune must be about 114.79 hours. The conclusion can be used to solve this kind of orbit with a high precision orbital dynamics model.&quot;, &quot;journal&quot;: &quot;csst_spider&quot;, &quot;uid&quot;: &quot;csst_spider-2021-3-1-部署retro_GEO巡视器的月球借力飞行轨道分析&quot;},<br>{&quot;journal_name&quot;: &quot;Chinese_Space_Science_and_Technology&quot;, &quot;pdf_to_download&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/article/downloadArticleFile.do?attachType=PDF&amp;id=11427&gt;&quot;, &quot;original_link&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/10.16708/j.cnki.1000-758X.2023.0002&gt;&quot;, &quot;issue_number&quot;: &quot;1&quot;, &quot;year_number&quot;: &quot;2023&quot;, &quot;publish_date&quot;: &quot;2023-02-25&quot;, &quot;title&quot;: &quot;大规模卫星星群域管控策略设计&quot;, &quot;article_number&quot;: 1, &quot;authors&quot;: [&quot;李宁&quot;, &quot; 岳程斐&quot;, &quot; 郭海波&quot;, &quot; 邱实&quot;, &quot; 曹喜滨&quot;], &quot;abstract&quot;: &quot;针对大规模卫星星群单节点管控带来的系统通联性差、地面资源依赖度高等问题，提出了分层管理、域内自治、动态维护的卫星星群分布式域管控策略。首先，设计了衡量卫星节点管控能力的静态指数及动态指数，并提出了多因素加权的星群簇首选择方法。其次，提出了通过逐层择优的方式进行域结构初始化的算法流程。最后，根据星群变化情形，提出了基于事件触发的动态时间片域管控方法，保证了大规模星群在全任务周期内能维持相对稳定的管控构型。仿真结果表明，所提出的域管控策略能够有效完成对目标星群的簇首选择、域初始化及动态维护过程，并保持域结构的稳定。实现了目标星群在空间中的域结构划分管理，使地面直接参与管理的卫星节点数目降至原管理模式的14％，有效解决了星群管控严重依赖地面资源的相关问题。\\n\\nIn large-scale satellite constellations，single node management and control will lead to poor system connectivity and high dependence on ground resources.A distributed domain control strategy for satellite constellations with hierarchical management，intradomain autonomy and dynamic maintenance was proposed.Firstly，both the static index and dynamic index to measure the governability were defined.According to the newly-defined indexes，a multi-factor weighted cluster head selection method was proposed.Then，based on the selected cluster head node，a cascading optimal initialization algorithm of the cluster was established.Aiming at dynamic maintaining of the established cluster control structure，an event-triggered dynamic time slice domain control method was proposed.Finally，control simulation result of the proposed method in the case of LEO large-scale satellite constellation verifies the effectiveness of cluster head selection，cluster initialization and long-time maintaining.The number of satellites which were managed through ground station was reduced to 14%.High dependence on ground resources was resolved.&quot;, &quot;journal&quot;: &quot;csst_spider&quot;, &quot;uid&quot;: &quot;csst_spider-2023-1-1-大规模卫星星群域管控策略设计&quot;},<br>{&quot;journal_name&quot;: &quot;Chinese_Space_Science_and_Technology&quot;, &quot;pdf_to_download&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/article/downloadArticleFile.do?attachType=PDF&amp;id=11362&gt;&quot;, &quot;original_link&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/10.16708/j.cnki.1000-758X.2022.0032&gt;&quot;, &quot;issue_number&quot;: &quot;3&quot;, &quot;year_number&quot;: &quot;2022&quot;, &quot;publish_date&quot;: &quot;2022-06-25&quot;, &quot;title&quot;: &quot;空间机器人操作_一种多任务学习视角&quot;, &quot;article_number&quot;: 1, &quot;authors&quot;: [&quot;李林峰&quot;, &quot; 解永春&quot;], &quot;abstract&quot;: &quot;利用空间机器人辅助、代替航天员完成在轨服务操作是近年的技术发展趋势。基于学习的空间机器人操作以深度神经网络为控制器载体，对非结构化太空环境适应能力强，在高轨、地外、深空等场景具有良好应用前景。目前，无论是空间机器人操作，还是地面机器人操作，多数研究只关注单一任务学习问题。立足一种多任务学习新视角，针对空间机器人操作面临的多任务适应性要求高、精细化要求高、不确定性强问题，首先分析了在轨服务的多样化任务需求。其次，全面综述了机器人操作多任务学习算法与应用相关工作，分析了开展空间机器人操作多任务学习的难点挑战，给出了关键技术发展建议。相关关键技术的突破将有助于提升空间机器人系统的自主性、鲁棒性，进而助力中国在轨服务技术向无人全自主方向推进。\\n\\nIt is a technological development trend in recent years to apply space robot in place of spaceman to perform on-orbit service tasks. Using deep neural network controller, the learning-based space robotic manipulation has shown good potential in adaptability to the unstructured space environments and applicability in fileds such as high earth orbit, extraterrestrial planet exploration, etc. At present, a large number of studies focus on single task robotic manipulation learning problems, for either onground robots or in-space robots. From a new perspective of multi-task learning, a thorough literature review on multi-task robot learning was made, including algorithms and robotic applications therein. To further apply the state-of-the-art multi-task robot learning algorthms, main technical challenges were analyzed and suggestions on key technology development were given. The breakthrough of the above challenges will increase the overall autonomy and robustness level of the space robot system, which is expected to further facilitate the development of China′s on-orbit service towards completely unmanned autonomy.&quot;, &quot;journal&quot;: &quot;csst_spider&quot;, &quot;uid&quot;: &quot;csst_spider-2022-3-1-空间机器人操作_一种多任务学习视角&quot;},<br>{&quot;journal_name&quot;: &quot;Chinese_Space_Science_and_Technology&quot;, &quot;pdf_to_download&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/article/downloadArticleFile.do?attachType=PDF&amp;id=11287&gt;&quot;, &quot;original_link&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/10.16708/j.cnki.1000-758X.2021.0047&gt;&quot;, &quot;issue_number&quot;: &quot;4&quot;, &quot;year_number&quot;: &quot;2021&quot;, &quot;publish_date&quot;: &quot;2021-08-25&quot;, &quot;title&quot;: &quot;模块化空间折展机构研究现状与展望&quot;, &quot;article_number&quot;: 1, &quot;authors&quot;: [&quot;田大可&quot;, &quot; 高海明&quot;, &quot; 金路&quot;, &quot; 刘荣强&quot;, &quot; 马小鸥&quot;, &quot; 范小东&quot;, &quot; 郭振伟&quot;], &quot;abstract&quot;: &quot;模块化空间折展机构具有拓展灵活、通用性好、适应性强等特点，可满足长距离深空探测、长期在轨空间站建设和超广域卫星通信等重大航天工程对大型/超大型空间折展机构的需求，是一种新型关键的航天装备。针对应用需求，阐述了模块化空间折展机构领域的研究进展，重点介绍了伸展臂、太阳翼和空间可展开天线等3类折展机构中具有模块化特征的典型构型，分析了模块化空间折展机构的结构组成、展开原理、驱动方式及应用现状，从机构创新设计方法、地面微重力试验及仿真、空间在轨装配技术、空间在轨建造技术等4个方面，展望了模块化空间折展机构未来的发展方向，旨在为大型空间折展机构的研究和应用提供借鉴与参考。\\n\\nThe modular space deployable and foldable mechanism has the characteristics of flexible expansion, good versatility and strong adaptability, which can meet the needs of large and ultralarge space deployable and foldable mechanism for major aerospace projects in China, such as long-distance deep space exploration, long-term in-orbit space station construction and ultra wide area satellite communication, and it is a new key aerospace equipment. According to the application requirements, the research progress of space modular deployable and foldable mechanism was described. The typical modular configurations of three types of deployable and foldable mechanism, such as deployable mast, solar array and space deployable antenna, were mainly introduced. The structure composition, deployment principle, driving mode and application status of modular space deployable and foldable mechanism were analyzed. The future development direction of space modular deployable and foldable mechanism was prospected from four aspects: mechanism innovative design method, ground microgravity test and simulation, space inorbit assembly technology and space inorbit construction technology. The review provides a reference for the research and application of large space deployable and foldable mechanism in China.&quot;, &quot;journal&quot;: &quot;csst_spider&quot;, &quot;uid&quot;: &quot;csst_spider-2021-4-1-模块化空间折展机构研究现状与展望&quot;},<br>{&quot;journal_name&quot;: &quot;Chinese_Space_Science_and_Technology&quot;, &quot;pdf_to_download&quot;: &quot;&lt;http://zgkj.cast.cn/CN/article/downloadArticleFile.do?attachType=PDF&amp;id=10469&gt;&quot;, &quot;original_link&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/abstract/abstract10469.shtml&gt;&quot;, &quot;issue_number&quot;: &quot;1&quot;, &quot;year_number&quot;: &quot;1981&quot;, &quot;publish_date&quot;: &quot;1981-02-25&quot;, &quot;title&quot;: &quot;我代表团赴美参观航天飞机首次轨道试飞&quot;, &quot;article_number&quot;: 1, &quot;authors&quot;: [&quot;李峰;&quot;], &quot;abstract&quot;: &quot; 应美国众议院科学技术委员会主席富魁的邀请,我国代表团一行五人,在中国宇航学会副理事长陈彬的率领下,代表中国空间技术研究院和中国宇航界,于4月1日前往美国,参观航天飞机的首次试航。\\n\\n李峰;. 我代表团赴美参观航天飞机首次轨道试飞[J]. .&quot;, &quot;journal&quot;: &quot;csst_spider&quot;, &quot;uid&quot;: &quot;csst_spider-1981-1-1-我代表团赴美参观航天飞机首次轨道试飞&quot;},<br>{&quot;journal_name&quot;: &quot;Chinese_Space_Science_and_Technology&quot;, &quot;pdf_to_download&quot;: &quot;&lt;http://zgkj.cast.cn/CN/article/downloadArticleFile.do?attachType=PDF&amp;id=10428&gt;&quot;, &quot;original_link&quot;: &quot;&lt;http://journal26.magtechjournal.com/kjkxjs/CN/abstract/abstract10428.shtml&gt;&quot;, &quot;issue_number&quot;: &quot;4&quot;, &quot;year_number&quot;: &quot;1981&quot;, &quot;publish_date&quot;: &quot;1981-08-25&quot;, &quot;title&quot;: &quot;从载人宇航工程看宇航生物动力学问题&quot;, &quot;article_number&quot;: 1, &quot;authors&quot;: [&quot;范剑峰&quot;], &quot;abstract&quot;: &quot;本文从载人宇航工程技术的角度对过去二十年宇航活动中所遇到的力学环境、如何改善这些力学环境以及宇航员的生理反应等作了综述,从中可以看出宇航生物动力学与宇航工程技术的密切关系。此外本文还对未来宇航活动中可能遇到的宇航生物动力学问题作了一些探讨。\\n\\n范剑峰. 从载人宇航工程看宇航生物动力学问题[J]. .&quot;, &quot;journal&quot;: &quot;csst_spider&quot;, &quot;uid&quot;: &quot;csst_spider-1981-4-1-从载人宇航工程看宇航生物动力学问题&quot;},<br>{... +200 rows ...}<br>]</pre><h3>Conclusion</h3><p>Finally, we are done and able to proudly push the script to the repo for our client to enjoy.</p><p>As you can see Scrapy might be hard to use at the beginning, at least it was for me,</p><p>but believe me it is incredibly powerful when it comes to scraping big amounts of websites and getting tons of data so you might as well give it a try.</p><p>And remember, don’t forget to not put your arms down and always search for a solution when working on software development, though sometimes you may have to think out of the box to find it!</p><p>Thank you so much for reading, I hope you have a wonderful day and this article was useful for you!</p><p>See you guys next time,</p><p>Nehuen</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a00a6c00aa66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[6 Things I’ve learned so far in 21 years (of life)]]></title>
            <link>https://medium.com/@nehuenv620/6-things-ive-learned-so-far-in-21-years-of-life-b9fe2e8ef832?source=rss-9fce0dd24940------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9fe2e8ef832</guid>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[youth]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[motivational]]></category>
            <category><![CDATA[motivation]]></category>
            <dc:creator><![CDATA[NVA]]></dc:creator>
            <pubDate>Fri, 24 May 2024 03:57:53 GMT</pubDate>
            <atom:updated>2024-06-06T00:22:03.999Z</atom:updated>
            <content:encoded><![CDATA[<h3>21 Years, 6 Lessons: Transformative Insights from My Journey</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l1qfLFIRFWOVkmompP7txw.png" /><figcaption>Picture by <a href="https://unsplash.com/@musickid98">Alfred Aloushy</a></figcaption></figure><h3>A little context…</h3><p>Well, I turned 21 a while ago (January 22)</p><p>And even though I know I’m too young, I was planning on writing about the most important things I’ve learned these last years of my life.</p><p>Who knows maybe it helps someone!</p><p>P.S. Yes, I know it took me a lot to write this, I’m a chronic procrastinator!</p><figure><img alt="Balloons forming “Happy birthday” on a wooden wall" src="https://cdn-images-1.medium.com/max/1024/1*XO9GJoAjWNFDyAUgd6CYww.jpeg" /></figure><h3>1- There’s always a solution, sometimes we just don’t like it</h3><p>I always disagreed with the people who said there’s “always” a solution and thought that they were obnoxiously positive.</p><p>But then I realized they weren’t wrong, it’s just that we don’t like to face that solution sometimes…</p><h3>My Experience</h3><p>When I started freelancing as a software developer and started getting hired by some clients, I was incredibly afraid of losing them (I bet most of you get the feeling).</p><p>I worked for really low rates and did whatever my clients asked for even though things weren’t specified in the contract.</p><p>But all changed when I found a new client and started working with a new technology I didn’t know much about.</p><p>I worked my head off to understand everything and find a solution to their problem, day and night, full of stress and anxiety, sleeping poorly.</p><p>And yet, I didn’t find a solution!</p><p>There I faced the truth, something most of us don’t like to admit: “<strong>I’m not able to do this</strong>”.</p><p>And the solution, was something I was anxious just to think about it for a second: <strong>Confessing it to my client!</strong></p><p>Long story short, I said it to my client, I pledged his forgiveness, and explained I couldn’t help him any more than what I’d accomplished.</p><p>I thought I’d felt unease while writing that message, but I felt… free.</p><p>Like a burden was taken off of my shoulders and I was lighter than ever.</p><p>And then my client responded: <strong>I understand you, don’t worry.</strong></p><p>He didn’t bother at all! And even He paid me for the uncomplete work I did.</p><p>This was an unexpectedly good ending, but it might not always be this way.</p><p>What matters here, is the fact that we have to think of those solutions we don’t want to face, there’s always one right there, though it might be out of our comfort zone.</p><p>Sometimes the solution is something like telling your boss that you don’t like something about their work ethic or telling the hard truth to your partner.</p><p>Remember it’s very unlikely to grow as an individual from comfortable situations, but rather hardship and discomfort will be our best teachers.</p><figure><img alt="The opening of a cave" src="https://cdn-images-1.medium.com/max/1024/1*sqvl5Iji60J0gRkko6EnjQ.jpeg" /></figure><h3>2- We suffer more from imagination than from reality (quote by Seneca)</h3><p>I know nowadays you even have this quote in your soup, but it’s incredible to realize how true it is!</p><p>Since I started journaling, I’ve realized how many times something I was fearing might happen never actually happened or rather it wasn’t that bad.</p><h3>Examples of Imaginary Fears</h3><p>The story I told in the previous section is a great example, I didn’t want to say I couldn’t accomplish that task because I was afraid of losing that client or worse… A bad review on Upwork!</p><p>And this was not my single experience with Imaginary Fears ****related to my work:</p><ul><li>I’ve also been uneased by what a client might think about me due to a simple message (since I couldn’t see his face I wasn’t able to tell his feelings apart).</li><li>Didn’t wanna hop on video calls because I thought I wouldn’t be hired due to my pronunciation (2nd language).</li><li>After any client hadn’t answered for some days my mind started wandering into the thought of they not liking the work I did, or wanting a refund</li></ul><p>And not only professionally:</p><p>Another example is from my martial arts training.</p><p>After making a mistake in a tournament, I dreaded facing my professor, imagining severe consequences.</p><p>However, when I talked to him, he was supportive and used the opportunity to teach me valuable lessons. And this happened more than once!</p><h3>I came to the conclusion</h3><p>After realizing none of these feared events became true, I started to be more skeptical about these situations in the future, therefore living more relaxed and joyful.</p><figure><img alt="Greek statue" src="https://cdn-images-1.medium.com/max/1024/1*V6rooAlEqLQOR7lEGXweYg.jpeg" /></figure><h3>3- Don’t think about this moment you would like to enjoy, just ENJOY it!</h3><p>The more you think you must enjoy something the less you enjoy it, period.</p><h3>The Realization</h3><p>I came to this realization during a vacation at the beach.</p><p>After a week of really hard work, I was determined to make the most of every moment. This determination, however, quickly turned into an obsession.</p><p>I found myself constantly thinking, “I need to enjoy this to the fullest!” Instead of just relaxing, I started feeling anxious whenever I was just chilling or not actively doing something with my “free” time,</p><p>almost as if I had to be productive with my vacations, missing the whole idea of resting and enjoying not being “<strong>Productive</strong>”.</p><h3>The Obsession with Enjoyment</h3><p>This obsession with maximizing enjoyment made me enjoy things less.</p><p>I was so focused on the idea of having fun that I lost the ability to actually have fun.</p><p>For example, while lounging by the beach, I kept thinking about all the activities I should be doing instead of simply enjoying the sound of the waves and the warmth of the sun.</p><p>This constant pressure to enjoy every moment was exhausting and left me feeling all the opposite of <strong>relaxed</strong>.</p><h3>Breaking the Cycle</h3><p>It was during one of these anxious moments that I realized this mindset had to stop.</p><p>I told myself:</p><blockquote><em>“If I keep obsessing over how to enjoy my time, I won’t enjoy anything at all.”</em></blockquote><p>I decided to let go of the need to control every moment and simply be present, you know, the famous mindfulness.</p><p>And that’s how another burden was taken off of my shoulders, I started enjoying those little moments in between, the sand on my feet, the sun on my skin, even the cold water!</p><p>And that was all I needed.</p><p>The time flew, as it always does, but the memories last for a lifetime!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pvI2Y4eVorWjohawfy7cFg.jpeg" /></figure><h3>4- Ultimate productivity comes at a high cost, and most of the time it’s not worth it.</h3><p>We are always told we must be productive, and it gets intensified in social media.</p><p>Either a piece of advice from a life improvement YouTuber, the story of a milliner who worked +10 hours a day on their business, or even the charming Ali Abdaal (not you friend, I appreciate what you do 😅).</p><p>Everyone is constantly bombarding you with productivity, but then I watched a video titled <a href="https://www.youtube.com/watch?v=VQK64SrYkzs">“Productivity Rips You Apart”</a> by the YouTube channel <a href="https://www.youtube.com/@HorsesOnYT">Horses</a>… And it really changed my view.</p><p>Working up until late in the night, eating at your desk instead of at the table with your family, not taking breaks…</p><p>All of this is only to tick out all of those tasks on your to-do list just for it to restart again the next day.</p><p><strong>“Tell me what have you earned?”</strong></p><p>We can be and do our best to be productive, but most of the time lack of productivity is related to <em>the systems we use</em> instead of just “<strong>us”</strong>.</p><p>And I’m 100% sure that enjoying a break with your family, or partner or even going for a walk are very important things (even more than we realize!)</p><figure><img alt="Person writing in a to-do list" src="https://cdn-images-1.medium.com/max/1024/1*PBWm1QUoMCMfeIXfIAWS4w.jpeg" /></figure><h3>5- Value your work, or else none would.</h3><p>I learned this the hard way 😅</p><p>When I started freelancing on Upwork, I thought that if I didn’t sell myself cheap I wouldn’t get good clients, but this was the exact opposite.</p><p>Instead of attracting good clients who were looking for a good deal, my low rates primarily drew in <strong>nightmare</strong> clients.</p><p>People who constantly bargained wanted more work for less money, understood little about the project, and thought everything was easier and I was just being lazy while actually, I was working my bones off!</p><p>This way I realised what a lot of other freelancers have been telling people for a long time:</p><blockquote><em>“The amount a client is willing to pay for a job is inversely proportional to the amount of problems they will give you.”</em></blockquote><p>And not so surprisingly that quote was right, good clients pay what they have to pay with no complaints, and bad clients try to bargain every dime!</p><p>By the way, I seriously think this tip (a bit reformulated) applies to any other aspect of life: with partners, friends, hobbies, sports, etc.</p><p>Just value <strong>yourself</strong>, know what you’re worth, and walk with your head held high, no one can do that for you!</p><figure><img alt="A person carrying golden stones" src="https://cdn-images-1.medium.com/max/1024/1*4YWBG0teSp1eUKpqgS4p8Q.jpeg" /></figure><h3>6- There are many ways to help make the world a better place.</h3><p>I always thought I had to make something big out of my life, <strong>changing the world</strong> I used to think;</p><p>Creating a way to stop pollution, cleaning the seas, stopping world hunger, and so on.</p><p>I thought that if the change I wanted to make wasn’t this big, it wouldn’t count, that my life would be pointless otherwise… What a foolish notion!</p><h3>The Power of Small Acts</h3><p>There are plenty of ways to <strong>change the world,</strong> and it starts with small acts:</p><ul><li>Showing a good mood.</li><li>Being kind to others.</li><li>Talking with a stranger on the street.</li><li>smiling to an old lady in your neighborhood.</li><li>Complementing a colleague.</li><li>Or even listening to a problem your friend had yesterday.</li></ul><p>Doing this can change someone’s day, more people need it than you think.</p><p>I bet this way you’re changing something, maybe not the entire world, but your small piece of it for sure.</p><p>Imagine how different everything would be if we all did that.</p><figure><img alt="A person having a miniature planet earth on their hands" src="https://cdn-images-1.medium.com/max/1024/1*ldmhrR-qeILVVtL3WCKkdg.jpeg" /></figure><p>Thank you so much for reading, I hope you have a wonderful day and find any of these tips useful!</p><p>Follow me on my social media:</p><p><a href="https://x.com/_Nva_620">X</a> if you’d like to see what I think about daily.</p><p><a href="https://www.youtube.com/@NVA_code_fun_n_stuff">YouTube</a> if you like coding and playing around with data.</p><p>See you guys next time,</p><p>Nehuen</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9fe2e8ef832" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>